From 74e8f2dcaa151989a5abfd21cf36ec9441d3671f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 19 Dec 2002 09:18:01 +0000 Subject: Update. 2002-12-19 Jakub Jelinek * nscd/connections.c (nscd_run): Shut up warning. * tst-ungetc.c (assert): Undefined before redefining. 2002-12-19 Ulrich Drepper * posix/regex.c: Use __builtin_expect even outside glibc if gcc 3 is used. 2002-12-17 Art Haas * iconvdata/cp737.h: Convert GCC extension initializer syntax to C99. * iconvdata/cp775.h: Likewise. * iconvdata/ibm1046.h: Likewise. * iconvdata/ibm1124.h: Likewise. * iconvdata/ibm1129.h: Likewise. * iconvdata/ibm1132.h: Likewise. * iconvdata/ibm1133.h: Likewise. * iconvdata/ibm1160.h: Likewise. * iconvdata/ibm1161.h: Likewise. * iconvdata/ibm1162.h: Likewise. * iconvdata/ibm1163.h: Likewise. * iconvdata/ibm1164.h: Likewise. (__ASSUME_CLONE_THREAD_FLAGS): Define for x86 and kernel >= 2.5.50. --- nptl/ChangeLog | 6 ++++++ nptl/forward.c | 4 ++-- nptl/pthread_equal.c | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) (limited to 'nptl') diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 4d2b1e9..2ab96bc 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,9 @@ +2002-12-19 Jakub Jelinek + + * forward.c (pthread_attr_init_2_0, pthread_attr_init_2_1): + Use return 0 as 6th argument to FORWARD4. + * pthread_equal.c: Include pthreadP.h instead of pthread.h. + 2002-12-18 Ulrich Drepper * descr.h (struct pthread) [NEED_DL_SYSINFO]: Add sysinfo member. diff --git a/nptl/forward.c b/nptl/forward.c index e68b9b1..4b7a120 100644 --- a/nptl/forward.c +++ b/nptl/forward.c @@ -55,11 +55,11 @@ FORWARD (pthread_attr_destroy, (pthread_attr_t *attr), (attr), 0); #if SHLIB_COMPAT(libc, GLIBC_2_0, GLIBC_2_1) FORWARD4 (pthread_attr_init_2_0, pthread_attr_init, int, - (pthread_attr_t *attr), (attr), 0, GLIBC_2_0); + (pthread_attr_t *attr), (attr), return 0, GLIBC_2_0); #endif FORWARD4 (pthread_attr_init_2_1, pthread_attr_init, int, - (pthread_attr_t *attr), (attr), 0, GLIBC_2_1); + (pthread_attr_t *attr), (attr), return 0, GLIBC_2_1); FORWARD (pthread_attr_getdetachstate, (const pthread_attr_t *attr, int *detachstate), (attr, detachstate), diff --git a/nptl/pthread_equal.c b/nptl/pthread_equal.c index 062da03..c998609 100644 --- a/nptl/pthread_equal.c +++ b/nptl/pthread_equal.c @@ -17,7 +17,7 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#include +#include "pthreadP.h" int -- cgit v1.1