]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - nptl/tst-locale2.c
powerpc: floor/floorf refactor
[thirdparty/glibc.git] / nptl / tst-locale2.c
index 2c803e3ef00f29de226600316001721540f6b635..a238209f87e903681b3cb98d93a717bd5d513f11 100644 (file)
@@ -6,8 +6,10 @@
 #include <pthread.h>
 
 /* This is never called, just here to get pthreads linked in.  */
-void
-useless (void)
+void *
+useless (void *a)
 {
-  pthread_create (0, 0, 0, 0);
+  pthread_t th;
+  pthread_create (&th, 0, useless, a);
+  return NULL;
 }