aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-19 09:18:01 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-19 09:18:01 +0000
commit74e8f2dcaa151989a5abfd21cf36ec9441d3671f (patch)
tree76e75ea724906d2d5b4d3a9449f535bcd7700d29 /nptl
parent7d092b69a0cd07e17a14027c9b544c9b6caac190 (diff)
downloadglibc-74e8f2dcaa151989a5abfd21cf36ec9441d3671f.tar
glibc-74e8f2dcaa151989a5abfd21cf36ec9441d3671f.tar.gz
glibc-74e8f2dcaa151989a5abfd21cf36ec9441d3671f.tar.bz2
glibc-74e8f2dcaa151989a5abfd21cf36ec9441d3671f.zip
Update.
2002-12-19 Jakub Jelinek <jakub@redhat.com> * nscd/connections.c (nscd_run): Shut up warning. * tst-ungetc.c (assert): Undefined before redefining. 2002-12-19 Ulrich Drepper <drepper@redhat.com> * posix/regex.c: Use __builtin_expect even outside glibc if gcc 3 is used. 2002-12-17 Art Haas <ahaas@airmail.net> * 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.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/ChangeLog6
-rw-r--r--nptl/forward.c4
-rw-r--r--nptl/pthread_equal.c2
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