diff options
author | Roland McGrath <roland@gnu.org> | 2002-08-30 22:07:28 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-08-30 22:07:28 +0000 |
commit | 95ed9d843825518c57cedc32476f5be4b2675b3e (patch) | |
tree | d3c69b8e9b860d8f3642a608201b8446d4de0d91 /linuxthreads/tst-static-locale.c | |
parent | 2b71beea82aa55d2e5aa8efa36013e0b6cc0d280 (diff) | |
download | glibc-95ed9d843825518c57cedc32476f5be4b2675b3e.tar.gz glibc-95ed9d843825518c57cedc32476f5be4b2675b3e.tar.xz glibc-95ed9d843825518c57cedc32476f5be4b2675b3e.zip |
* locale/duplocale.c: Include <string.h>.
Diffstat (limited to 'linuxthreads/tst-static-locale.c')
-rw-r--r-- | linuxthreads/tst-static-locale.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/linuxthreads/tst-static-locale.c b/linuxthreads/tst-static-locale.c new file mode 100644 index 0000000000..3c88e729ba --- /dev/null +++ b/linuxthreads/tst-static-locale.c @@ -0,0 +1,13 @@ +/* Test that the thread-local locale works right in the main thread + when statically linked. */ + +#include "../locale/tst-C-locale.c" + +#include <pthread.h> + +/* This is never called, just here to get pthreads linked in. */ +void +useless (void) +{ + pthread_create (0, 0, 0, 0); +} |