diff options
author | bde <bde@FreeBSD.org> | 2001-11-28 19:02:01 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2001-11-28 19:02:01 +0000 |
commit | 131d4937c052fb318f46eb59e2116c99268f455a (patch) | |
tree | a059dcb3d9b6abb26d114dfb373795a8c66e210c /include | |
parent | 519b6eac0929e716941202abbbdd41f5a5534e83 (diff) | |
download | FreeBSD-src-131d4937c052fb318f46eb59e2116c99268f455a.zip FreeBSD-src-131d4937c052fb318f46eb59e2116c99268f455a.tar.gz |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/string.h b/include/string.h index 5f2a6e1..4a5bf91 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 *)); |