summaryrefslogtreecommitdiff
path: root/lib/libc/tests/stdlib/dynthr_mod/dynthr_mod.c
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2020-09-09 02:45:47 +0000
committerKyle Evans <kevans@FreeBSD.org>2020-09-09 02:45:47 +0000
commit0e907c045b1b6c5bcc628780c7ffd407de0a72d7 (patch)
tree2e3debf71f3c9af036bd40af27031157c6fb5c4b /lib/libc/tests/stdlib/dynthr_mod/dynthr_mod.c
parent5593499d4a260ac765790be8942cb631855204c4 (diff)
Notes
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;