diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-04-16 23:59:09 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2007-04-16 23:59:09 +0000 |
commit | e220c524c93b053a1dea504a2d18288ff8f32b9a (patch) | |
tree | 4193293c838a7db46f2cc0c2b50cb8601dcddb8d /nptl | |
parent | a891c7b0e014df5df027249f59cb444b87afdf30 (diff) |
Updated to fedora-glibc-20070416T2350cvs/fedora-glibc-2_5_90-21
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/ChangeLog | 5 | ||||
-rw-r--r-- | nptl/tst-locale1.c | 3 | ||||
-rw-r--r-- | nptl/tst-locale2.c | 7 |
3 files changed, 11 insertions, 4 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog index eb35a94cc8..134b38a2fa 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,8 @@ +2007-04-06 Ulrich Drepper <drepper@redhat.com> + + * tst-locale1.c: Avoid warnings. + * tst-locale2.c: Likewise. + 2007-03-19 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h diff --git a/nptl/tst-locale1.c b/nptl/tst-locale1.c index 08b43704e5..2ee4c3fbce 100644 --- a/nptl/tst-locale1.c +++ b/nptl/tst-locale1.c @@ -10,7 +10,8 @@ int useless (void) { - pthread_create (0, 0, 0, 0); + pthread_t th; + pthread_create (&th, 0, (void *(*) (void *)) useless, 0); /* This is to check __libc_current_sigrt* can be used in statically linked apps. */ return SIGRTMIN; 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); } |