about summary refs log tree commit diff
path: root/string
diff options
context:
space:
mode:
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