diff options
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/ChangeLog | 6 | ||||
-rw-r--r-- | nptl/forward.c | 4 | ||||
-rw-r--r-- | nptl/pthread_equal.c | 2 |
3 files changed, 9 insertions, 3 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 4d2b1e98e9..2ab96bce51 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,9 @@ +2002-12-19 Jakub Jelinek <jakub@redhat.com> + + * 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 <drepper@redhat.com> * descr.h (struct pthread) [NEED_DL_SYSINFO]: Add sysinfo member. diff --git a/nptl/forward.c b/nptl/forward.c index e68b9b198e..4b7a12026c 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 062da03ee7..c9986096f5 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 <pthread.h> +#include "pthreadP.h" int |