aboutsummaryrefslogtreecommitdiff
path: root/testcases/open_posix_testsuite/conformance/interfaces/pthread_key_delete/2-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'testcases/open_posix_testsuite/conformance/interfaces/pthread_key_delete/2-1.c')
-rw-r--r--testcases/open_posix_testsuite/conformance/interfaces/pthread_key_delete/2-1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_key_delete/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_key_delete/2-1.c
index 77f52b15a..8aba51cac 100644
--- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_key_delete/2-1.c
+++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_key_delete/2-1.c
@@ -30,7 +30,7 @@ pthread_key_t key;
int dest_cnt;
/* Destructor function */
-void dest_func(void *p)
+void dest_func(void *p LTP_ATTRIBUTE_UNUSED)
{
dest_cnt++;
/* Delete the key and check if an error has occured */