From d23c1cd5d7ac0bc8f70069b844a0b2ed05298aec Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Wed, 28 Nov 2001 19:02:01 +0000 Subject: [PATCH] Fixed namespace pollution in previous commit. The C99 function sterror_r() must not be declared in the C90/POSIX.1-1990 section. Put it in the nonstandard section for now. --- include/string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/string.h b/include/string.h index 5f2a6e128cd..4a5bf910a2e 100644 --- a/include/string.h +++ b/include/string.h @@ -62,7 +62,6 @@ int strcoll __P((const char *, const char *)); char *strcpy __P((char *, const char *)); size_t strcspn __P((const char *, const char *)); char *strerror __P((int)); -int strerror_r __P((int, char *, size_t)); size_t strlen __P((const char *)); char *strncat __P((char *, const char *, size_t)); int strncmp __P((const char *, const char *, size_t)); @@ -86,6 +85,7 @@ char *rindex __P((const char *, int)); int strcasecmp __P((const char *, const char *)); char *strcasestr __P((const char *, const char *)); char *strdup __P((const char *)); +int strerror_r __P((int, char *, size_t)); size_t strlcat __P((char *, const char *, size_t)); size_t strlcpy __P((char *, const char *, size_t)); void strmode __P((int, char *));