From 9f447fb32c8f4944ef0c5c677be44e17b3fc529b Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 7 Jun 1996 20:37:41 +0000 Subject: Fri Jun 7 09:11:17 1996 Roland McGrath * 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. --- string/Makefile | 2 +- string/string.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'string') 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 -- cgit v1.2.3