Blame nptl/tst-locale2.c

Packit 6c4009
/* Test that the thread-local locale works right in the main thread
Packit 6c4009
   when statically linked.  */
Packit 6c4009
Packit 6c4009
#include "../argp/tst-argp1.c"
Packit 6c4009
Packit 6c4009
#include <pthread.h>
Packit 6c4009
Packit 6c4009
/* This is never called, just here to get pthreads linked in.  */
Packit 6c4009
void *
Packit 6c4009
useless (void *a)
Packit 6c4009
{
Packit 6c4009
  pthread_t th;
Packit 6c4009
  pthread_create (&th, 0, useless, a);
Packit 6c4009
  return NULL;
Packit 6c4009
}