Move errno setting code in separate function __atfct_seterrno_2.
[glibc.git] / nptl / tst-locale2.c
blob2c803e3ef00f29de226600316001721540f6b635
1 /* Test that the thread-local locale works right in the main thread
2 when statically linked. */
4 #include "../argp/tst-argp1.c"
6 #include <pthread.h>
8 /* This is never called, just here to get pthreads linked in. */
9 void
10 useless (void)
12 pthread_create (0, 0, 0, 0);