summaryrefslogtreecommitdiff
path: root/string
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-06-07 20:37:41 +0000
committerRoland McGrath <roland@gnu.org>1996-06-07 20:37:41 +0000
commit9f447fb32c8f4944ef0c5c677be44e17b3fc529b (patch)
treef8237c308b683c96697629122c0a5531fa6c8c1f /string
parentbd5fa7727c231fd750e65c8723b0dc6e8ba9c388 (diff)
downloadglibc-9f447fb32c8f4944ef0c5c677be44e17b3fc529b.tar.gz
Fri Jun 7 09:11:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* mach/mach_syscalls.c: Obsolete file removed. * mach/mach_syscalls.h: Likewise. * mach/mach_traps.S: Likewise. * mach/msg_destroy.c: Likewise. * mach/vm_page_size.c: Likewise.
Diffstat (limited to 'string')
-rw-r--r--string/Makefile2
-rw-r--r--string/string.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/string/Makefile b/string/Makefile
index 02137316bf..8325c6f26b 100644
--- a/string/Makefile
+++ b/string/Makefile
@@ -25,7 +25,7 @@ headers := string.h strings.h memory.h endian.h bytesex.h \
argz.h envz.h
routines := strcat strchr strcmp strcoll strcpy strcspn strdup \
- strerror _strerror strlen strnlen \
+ strerror _strerror strerror_r strlen strnlen \
strncat strncmp strncpy \
strrchr strpbrk strsignal strspn strstr strtok \
strtok_r strxfrm memchr memcmp memmove memset \
diff --git a/string/string.h b/string/string.h
index 905eb7e3c9..4bd8483d16 100644
--- a/string/string.h
+++ b/string/string.h
@@ -157,7 +157,7 @@ extern char *strerror __P ((int __errnum));
#ifdef __USE_REENTRANT
/* Reentrant version of `strerror'. If a temporary buffer is required, at
most BUFLEN bytes of BUF will be used. */
-extern char *strerror_r __P ((int __errnum, char *__buf, int __buflen));
+extern char *strerror_r __P ((int __errnum, char *__buf, size_t __buflen));
#endif
#ifdef __USE_BSD