(to_wc): Mark as const. (to_mb): Likewise.
[glibc.git] / nptl / tst-locale1.c
blob08b43704e536d961ac0c37568c9a1857c52208db
1 /* Test that the thread-local locale works right in the main thread
2 when statically linked. */
4 #include "../locale/tst-C-locale.c"
6 #include <pthread.h>
7 #include <signal.h>
9 /* This is never called, just here to get pthreads linked in. */
10 int
11 useless (void)
13 pthread_create (0, 0, 0, 0);
14 /* This is to check __libc_current_sigrt* can be used in statically
15 linked apps. */
16 return SIGRTMIN;