]> git.ipfire.org Git - thirdparty/glibc.git/blame - nptl/tst-locale2.c
Rename sys/ucontext.h to bits/ucontext.h.
[thirdparty/glibc.git] / nptl / tst-locale2.c
CommitLineData
c4a6d859
UD
1/* Test that the thread-local locale works right in the main thread
2 when statically linked. */
3
4#include "../argp/tst-argp1.c"
5
6#include <pthread.h>
7
8/* This is never called, just here to get pthreads linked in. */
c3c3afc9
UD
9void *
10useless (void *a)
c4a6d859 11{
c3c3afc9
UD
12 pthread_t th;
13 pthread_create (&th, 0, useless, a);
701666b7 14 return NULL;
c4a6d859 15}