2000-05-04  Andreas Jaeger  <aj@suse.de>

	* string/string.h: Remove __strdup prototype, it's not needed in
	this file anymore.
This commit is contained in:
Ulrich Drepper 2000-05-28 22:53:25 +00:00
parent c0f3519d2e
commit 84838b8ff3
4 changed files with 7 additions and 2 deletions

View File

@ -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.

View 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.

View 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 */

View 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