diff options
author | Ulrich Drepper <drepper@redhat.com> | 2007-04-06 22:19:46 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2007-04-06 22:19:46 +0000 |
commit | c3c3afc943ae7d41b1c76ae162e3c5988a3cc7e9 (patch) | |
tree | 90cb2b39ef931f07c5ea019daa0ab7559287d112 /nptl/tst-locale2.c | |
parent | 88fa17694ee0a04da6d93c36d7ce0c1926d86c49 (diff) | |
download | glibc-c3c3afc943ae7d41b1c76ae162e3c5988a3cc7e9.tar glibc-c3c3afc943ae7d41b1c76ae162e3c5988a3cc7e9.tar.gz glibc-c3c3afc943ae7d41b1c76ae162e3c5988a3cc7e9.tar.bz2 glibc-c3c3afc943ae7d41b1c76ae162e3c5988a3cc7e9.zip |
Avoid warnings.
Diffstat (limited to 'nptl/tst-locale2.c')
-rw-r--r-- | nptl/tst-locale2.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/nptl/tst-locale2.c b/nptl/tst-locale2.c index 2c803e3ef0..c8821ad6b8 100644 --- a/nptl/tst-locale2.c +++ b/nptl/tst-locale2.c @@ -6,8 +6,9 @@ #include <pthread.h> /* This is never called, just here to get pthreads linked in. */ -void -useless (void) +void * +useless (void *a) { - pthread_create (0, 0, 0, 0); + pthread_t th; + pthread_create (&th, 0, useless, a); } |