summaryrefslogtreecommitdiff
path: root/lib/libc/tests/stdlib/dynthr_mod/dynthr_mod.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/tests/stdlib/dynthr_mod/dynthr_mod.c')
-rw-r--r--lib/libc/tests/stdlib/dynthr_mod/dynthr_mod.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/tests/stdlib/dynthr_mod/dynthr_mod.c b/lib/libc/tests/stdlib/dynthr_mod/dynthr_mod.c
index c455808f6b92..4f5622f47a81 100644
--- a/lib/libc/tests/stdlib/dynthr_mod/dynthr_mod.c
+++ b/lib/libc/tests/stdlib/dynthr_mod/dynthr_mod.c
@@ -41,10 +41,12 @@ __FBSDID("$FreeBSD$");
#include <unistd.h>
#include <pthread.h>
+void mod_main(int op);
+
static pthread_t thr;
static void *
-mod_thread(void *ptr)
+mod_thread(void *ptr __unused)
{
char *volatile dummy;