summaryrefslogtreecommitdiff
path: root/include/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/string.h')
-rw-r--r--include/string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/string.h b/include/string.h
index 22608b660..6149955ef 100644
--- a/include/string.h
+++ b/include/string.h
@@ -235,7 +235,7 @@ extern char *strerror (int __errnum) __THROW;
#ifdef __USE_MISC
/* Reentrant version of `strerror'. If a temporary buffer is required, at
most BUFLEN bytes of BUF will be used. */
-extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) __THROW;
+extern int strerror_r (int __errnum, char *__buf, size_t buflen) __THROW;
#endif
/* We define this function always since `bzero' is sometimes needed when