aboutsummaryrefslogtreecommitdiff
path: root/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/1-1.c
diff options
context:
space:
mode:
authorEnji Cooper <yaneurabeya@gmail.com>2019-01-20 10:40:38 -0800
committerngie-eign <1574099+ngie-eign@users.noreply.github.com>2019-01-20 16:16:36 -0800
commit38bccd7fd0f30438182f7638f5a151f2cd96e0fc (patch)
tree8a801e607298b57cae84402751d65ecec2dd6375 /testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/1-1.c
parent434f7c3a48a8a9d926626500a35f4a7eab32d598 (diff)
downloadltp-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_cond_broadcast/1-1.c')
-rw-r--r--testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/1-1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/1-1.c
index f463bc247..e61041ae8 100644
--- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/1-1.c
+++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/1-1.c
@@ -27,7 +27,7 @@ struct testdata {
static int start_num;
static int waken_num;
-static void *thr_func(void *arg)
+static void *thr_func(void *arg LTP_ATTRIBUTE_UNUSED)
{
int rc;
pthread_t self = pthread_self();