From 2607bee41906da4f47d98a92749c11533396838c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 29 Jan 2006 21:02:08 +0000 Subject: Patch by Joseph S. Myers to add support for ARM EABI --- libc/misc/assert/__assert.c | 3 +++ libc/misc/locale/locale.c | 4 ++++ 2 files changed, 7 insertions(+) (limited to 'libc/misc') 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 #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) -- cgit v1.2.3