Libraries updates and cleanup

* Updating common/lib
 * Updating lib/csu
 * Updating lib/libc
 * Updating libexec/ld.elf_so
 * Corrected test on __minix in featuretest to actually follow the
   meaning of the comment.
 * Cleaned up _REENTRANT-related defintions.
 * Disabled -D_REENTRANT for libfetch
 * Removing some unneeded __NBSD_LIBC defines and tests

Change-Id: Ic1394baef74d11b9f86b312f5ff4bbc3cbf72ce2
This commit is contained in:
2012-11-15 12:06:41 +01:00
parent f6aac1c3b5
commit f14fb60209
1285 changed files with 44244 additions and 14308 deletions

View File

@@ -1,4 +1,4 @@
/* $NetBSD: string.h,v 1.39 2009/07/22 19:48:27 kleink Exp $ */
/* $NetBSD: string.h,v 1.41 2012/08/30 12:16:48 drochner Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -96,9 +96,11 @@ __aconst char *strsignal(int);
* strxfrm_l
*/
#endif
__END_DECLS
#if defined(_NETBSD_SOURCE)
#include <strings.h> /* for backwards-compatibilty */
__BEGIN_DECLS
void *memmem(const void *, size_t, const void *, size_t);
char *strcasestr(const char *, const char *);
size_t strlcat(char *, const char *, size_t);
@@ -107,8 +109,10 @@ char *strsep(char **, const char *);
char *stresep(char **, const char *, int);
char *strndup(const char *, size_t);
void *memrchr(const void *, int, size_t);
#endif
void __explicit_bzero(void *, size_t);
int __consttime_bcmp(const void *, const void *, size_t);
__END_DECLS
#endif
#if _FORTIFY_SOURCE > 0
#include <ssp/string.h>