diff options
Diffstat (limited to 'testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/3-1.c')
-rw-r--r-- | testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/3-1.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/3-1.c index 3b0811f42..91fa0ee77 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/3-1.c @@ -122,7 +122,7 @@ void *sendsig(void *arg) } /* Next are the signal handlers. */ -void sighdl1(int sig) +void sighdl1(int sig LTP_ATTRIBUTE_UNUSED) { #ifdef WITH_SYNCHRO if ((sem_post(&semsig1))) { @@ -131,7 +131,7 @@ void sighdl1(int sig) #endif } -void sighdl2(int sig) +void sighdl2(int sig LTP_ATTRIBUTE_UNUSED) { #ifdef WITH_SYNCHRO if ((sem_post(&semsig2))) { @@ -143,7 +143,7 @@ void sighdl2(int sig) /* The following function loops on init/destroy some mutex (with different attributes) * it does check that no error code of EINTR is returned */ -void *threaded(void *arg) +void *threaded(void *arg LTP_ATTRIBUTE_UNUSED) { pthread_mutexattr_t ma[4], *pma[5]; pthread_mutex_t m[5]; |