diff options
Diffstat (limited to 'testcases/open_posix_testsuite/conformance/interfaces/pthread_cancel/2-3.c')
-rw-r--r-- | testcases/open_posix_testsuite/conformance/interfaces/pthread_cancel/2-3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cancel/2-3.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cancel/2-3.c index 42af238ab..def886bba 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cancel/2-3.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cancel/2-3.c @@ -37,7 +37,7 @@ struct timespec destructor_time, cleanup_time; /* Destructor for the Thread Specific Data */ -void destructor(void *tmp) +void destructor(void *tmp LTP_ATTRIBUTE_UNUSED) { clock_gettime(CLOCK_REALTIME, &destructor_time); destructor_flag = 1; @@ -53,7 +53,7 @@ void cleanup_function() } /* 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; |