summaryrefslogtreecommitdiff
path: root/include/libc-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libc-internal.h')
-rw-r--r--include/libc-internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libc-internal.h b/include/libc-internal.h
index 7b2566f74..525444ac8 100644
--- a/include/libc-internal.h
+++ b/include/libc-internal.h
@@ -46,8 +46,10 @@
/* sources are built w/ _GNU_SOURCE, this gets undefined */
#ifdef __USE_GNU
extern int __xpg_strerror_r (int __errnum, char *__buf, size_t __buflen);
+libc_hidden_proto(__xpg_strerror_r)
#else
extern char *__glibc_strerror_r (int __errnum, char *__buf, size_t __buflen);
+libc_hidden_proto(__glibc_strerror_r)
#endif
/* #include <pthread.h> */