From c3c3afc943ae7d41b1c76ae162e3c5988a3cc7e9 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 6 Apr 2007 22:19:46 +0000 Subject: Avoid warnings. --- nptl/tst-locale1.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nptl/tst-locale1.c') diff --git a/nptl/tst-locale1.c b/nptl/tst-locale1.c index 08b4370..2ee4c3f 100644 --- a/nptl/tst-locale1.c +++ b/nptl/tst-locale1.c @@ -10,7 +10,8 @@ int useless (void) { - pthread_create (0, 0, 0, 0); + pthread_t th; + pthread_create (&th, 0, (void *(*) (void *)) useless, 0); /* This is to check __libc_current_sigrt* can be used in statically linked apps. */ return SIGRTMIN; -- cgit v1.1