summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/assert/__assert.c3
-rw-r--r--libc/misc/locale/locale.c4
2 files changed, 7 insertions, 0 deletions
diff --git a/libc/misc/assert/__assert.c b/libc/misc/assert/__assert.c
index 2fd0b3ee4..4282812a5 100644
--- a/libc/misc/assert/__assert.c
+++ b/libc/misc/assert/__assert.c
@@ -42,6 +42,7 @@ libc_hidden_proto(stderr)
#include <assert.h>
#undef assert
+libc_hidden_proto(__assert)
#define ASSERT_SHOW_PROGNAME 1
@@ -68,3 +69,5 @@ void attribute_noreturn __assert(const char *assertion, const char * filename,
}
abort();
}
+
+libc_hidden_def(__assert)
diff --git a/libc/misc/locale/locale.c b/libc/misc/locale/locale.c
index 69cc08bfd..2df4659b5 100644
--- a/libc/misc/locale/locale.c
+++ b/libc/misc/locale/locale.c
@@ -305,6 +305,8 @@ char *setlocale(int category, const char *locale)
* placement of the fields in the struct. If necessary, we could ensure
* this usings an array of offsets but at some size cost. */
+libc_hidden_proto(localeconv)
+
#ifdef __LOCALE_C_ONLY
link_warning(localeconv,"REMINDER: The 'localeconv' function is hardwired for C/POSIX locale only.")
@@ -358,6 +360,8 @@ struct lconv *localeconv(void)
#endif /* __LOCALE_C_ONLY */
+libc_hidden_def(localeconv)
+
#endif
/**********************************************************************/
#if defined(L__locale_init) && !defined(__LOCALE_C_ONLY)