diff options
Diffstat (limited to 'testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/1-1.c')
-rw-r--r-- | testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/1-1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/1-1.c index eb99fa0fa..4d9674535 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/1-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/1-1.c @@ -29,14 +29,14 @@ int t1_start = 0; int signaled = 0; /* Alarm handler */ -void alarm_handler(int signo) +void alarm_handler(int signo LTP_ATTRIBUTE_UNUSED) { printf("Error: failed to wakeup thread\n"); pthread_cancel(thread1); exit(PTS_UNRESOLVED); } -void *t1_func(void *arg) +void *t1_func(void *arg LTP_ATTRIBUTE_UNUSED) { int rc; |