]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Sun, 28 May 2000 22:53:25 +0000 (22:53 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 28 May 2000 22:53:25 +0000 (22:53 +0000)
2000-05-04  Andreas Jaeger  <aj@suse.de>

* string/string.h: Remove __strdup prototype, it's not needed in
this file anymore.

ChangeLog
linuxthreads/ChangeLog
linuxthreads/spinlock.c
string/string.h

index b23ac997e0427037394c2de09dc07ca60f796e2b..44b2dff02b8507ad86082e19a7897283c0839e8e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-05-04  Andreas Jaeger  <aj@suse.de>
+
+       * string/string.h: Remove __strdup prototype, it's not needed in
+       this file anymore.
+
 2000-05-28  Ulrich Drepper  <drepper@redhat.com>
 
        * posix/Makefile (tests): Add tst-fork.
index 38cbe5879bbec9ee3ff14e4ff2aa2a8a84eaf28d..952815c5790d97362fb1bd14a43a060e4d22480a 100644 (file)
@@ -1,5 +1,7 @@
 2000-05-28  Ulrich Drepper  <drepper@redhat.com>
 
+       * spinlock.c (__pthread_lock): Remove ASSERT.
+
        * Makefile (tests): Add ex8.
        * Examples/ex8.c: New file.
 
index 50edfa38cb1b970c9645627f17c9cfa3d5c505ae..3f5b8233b0b8fbd3e57dc65320b99216ef7ad4aa 100644 (file)
@@ -52,7 +52,6 @@ void internal_function __pthread_lock(struct _pthread_fastlock * lock,
       newstatus = (long) self;
     }
     if (self != NULL) {
-      ASSERT(self->p_nextlock == NULL);
       THREAD_SETMEM(self, p_nextlock, (pthread_descr) oldstatus);
       /* Make sure the store in p_nextlock completes before performing
          the compare-and-swap */
index 8b9a35784fc9177d413948d72607e19a663e0bf5..d4d3e442ef6610d249142f4655f79e223a6cf0b8 100644 (file)
@@ -116,7 +116,6 @@ extern size_t __strxfrm_l (char *__dest, __const char *__src, size_t __n,
 
 #if defined __USE_SVID || defined __USE_BSD || defined __USE_XOPEN_EXTENDED
 /* Duplicate S, returning an identical malloc'd string.  */
-extern char *__strdup (__const char *__s) __THROW __attribute_malloc__;
 extern char *strdup (__const char *__s) __THROW __attribute_malloc__;
 #endif