diff options
author | Enji Cooper <yaneurabeya@gmail.com> | 2019-01-20 10:40:38 -0800 |
---|---|---|
committer | ngie-eign <1574099+ngie-eign@users.noreply.github.com> | 2019-01-20 16:16:36 -0800 |
commit | 38bccd7fd0f30438182f7638f5a151f2cd96e0fc (patch) | |
tree | 8a801e607298b57cae84402751d65ecec2dd6375 /testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/6-2.c | |
parent | 434f7c3a48a8a9d926626500a35f4a7eab32d598 (diff) | |
download | ltp-38bccd7fd0f30438182f7638f5a151f2cd96e0fc.tar.gz |
Sprinkle `LTP_ATTRIBUTE_UNUSED` macro on unused vars/params
This fixes `-Wunused` issues.
Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
Diffstat (limited to 'testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/6-2.c')
-rw-r--r-- | testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/6-2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/6-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/6-2.c index 7bff95d12..08c17478b 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/6-2.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/6-2.c @@ -78,7 +78,7 @@ static void sig_handler() handler_state = 3; } -static void *th_fn(void *arg) +static void *th_fn(void *arg LTP_ATTRIBUTE_UNUSED) { struct sigaction act; struct timespec abs_timeout; |