about summary refs log tree commit diff
path: root/nptl/tst-locale1.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-04-06 22:19:46 +0000
committerUlrich Drepper <drepper@redhat.com>2007-04-06 22:19:46 +0000
commitc3c3afc943ae7d41b1c76ae162e3c5988a3cc7e9 (patch)
tree90cb2b39ef931f07c5ea019daa0ab7559287d112 /nptl/tst-locale1.c
parent88fa17694ee0a04da6d93c36d7ce0c1926d86c49 (diff)
downloadglibc-c3c3afc943ae7d41b1c76ae162e3c5988a3cc7e9.tar.gz
glibc-c3c3afc943ae7d41b1c76ae162e3c5988a3cc7e9.tar.xz
glibc-c3c3afc943ae7d41b1c76ae162e3c5988a3cc7e9.zip
Avoid warnings.
Diffstat (limited to 'nptl/tst-locale1.c')
-rw-r--r--nptl/tst-locale1.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nptl/tst-locale1.c b/nptl/tst-locale1.c
index 08b43704e5..2ee4c3fbce 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;