summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-08 20:18:59 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-08 20:18:59 +0000
commit31aa06ef80bebbb6c31b30ea54285983df139747 (patch)
treeda7457dcbcfef1a0b306d5f61aec8edc6e569190
parentb7ca7d087dc370a7c0228b020739c8ede40ebb88 (diff)
Change the needed prototypes
-rw-r--r--include/libc-internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libc-internal.h b/include/libc-internal.h
index 47eb97439..9c9ab4b7f 100644
--- a/include/libc-internal.h
+++ b/include/libc-internal.h
@@ -176,7 +176,8 @@ extern int __strcasecmp (__const char *__s1, __const char *__s2) attribute_hidde
extern int __strncasecmp (__const char *__s1, __const char *__s2, size_t __n) attribute_hidden;
/* sources are built w/ _GNU_SOURCE, this gets undefined */
-extern int __xpg_strerror_r (int __errnum, char *__buf, size_t __buflen);
+extern int __xpg_strerror_r_internal (int __errnum, char *__buf, size_t __buflen) attribute_hidden;
+extern char *__glibc_strerror_r_internal (int __errnum, char *__buf, size_t __buflen) attribute_hidden;
/* #include <unistd.h> */
extern ssize_t __read(int __fd, void *__buf, size_t __nbytes) attribute_hidden;