(__nss_lookup_function): En/Decrypt cached function pointers.
[glibc/history.git] / nptl / tst-locale2.c
bloba238209f87e903681b3cb98d93a717bd5d513f11
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 *a)
12 pthread_t th;
13 pthread_create (&th, 0, useless, a);
14 return NULL;