diff options
Diffstat (limited to 'testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/3-1.c')
-rw-r--r-- | testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/3-1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/3-1.c index 1f1a07b80..26df586be 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/3-1.c @@ -31,13 +31,13 @@ /* Flag to indicate that the destructor was called */ int cleanup_flag = 0; -void destructor(void *tmp) +void destructor(void *tmp LTP_ATTRIBUTE_UNUSED) { cleanup_flag = 1; } /* Thread's function. */ -void *a_thread_func(void *tmp) +void *a_thread_func(void *tmp LTP_ATTRIBUTE_UNUSED) { pthread_key_t key; int value = 1; |