Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC)
- Fix for possible unset uid/gid in toproto
- Fix for default mtree style
- Update libelf
- Importing libexecinfo
- Resynchronize GCC, mpc, gmp, mpfr
- build.sh: Replace params with show-params.
This has been done as the make target has been renamed in the same
way, while a new target named params has been added. This new
target generates a file containing all the parameters, instead of
printing it on the console.
- Update test48 with new etc/services (Fix by Ben Gras <ben@minix3.org)
get getservbyport() out of the inner loop
Change-Id: Ie6ad5226fa2621ff9f0dee8782ea48f9443d2091
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $NetBSD: string.h,v 1.41 2012/08/30 12:16:48 drochner Exp $ */
|
||||
/* $NetBSD: string.h,v 1.48 2013/08/28 17:47:07 riastradh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
@@ -89,12 +89,6 @@ size_t strnlen(const char *, size_t);
|
||||
/* also in unistd.h */
|
||||
__aconst char *strsignal(int);
|
||||
#endif /* __STRSIGNAL_DECLARED */
|
||||
/*
|
||||
* For POSIX compliance, we still need:
|
||||
* strcoll_l
|
||||
* strerror_l
|
||||
* strxfrm_l
|
||||
*/
|
||||
#endif
|
||||
__END_DECLS
|
||||
|
||||
@@ -109,11 +103,23 @@ char *strsep(char **, const char *);
|
||||
char *stresep(char **, const char *, int);
|
||||
char *strndup(const char *, size_t);
|
||||
void *memrchr(const void *, int, size_t);
|
||||
void __explicit_bzero(void *, size_t);
|
||||
int __consttime_bcmp(const void *, const void *, size_t);
|
||||
void *explicit_memset(void *, int, size_t);
|
||||
int consttime_memequal(const void *, const void *, size_t);
|
||||
__END_DECLS
|
||||
#endif
|
||||
|
||||
#if (_POSIX_C_SOURCE - 0) >= 200809L || defined(_NETBSD_SOURCE)
|
||||
# ifndef __LOCALE_T_DECLARED
|
||||
typedef struct _locale *locale_t;
|
||||
# define __LOCALE_T_DECLARED
|
||||
# endif
|
||||
__BEGIN_DECLS
|
||||
int strcoll_l(const char *, const char *, locale_t);
|
||||
size_t strxfrm_l(char * __restrict, const char * __restrict, size_t, locale_t);
|
||||
__aconst char *strerror_l(int, locale_t);
|
||||
__END_DECLS
|
||||
#endif /* _POSIX_C_SOURCE || _NETBSD_SOURCE */
|
||||
|
||||
#if _FORTIFY_SOURCE > 0
|
||||
#include <ssp/string.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user