summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-08 12:02:48 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-08 12:02:48 +0000
commita83c32e036222fc33cd99fd9f97b067b5e6442dd (patch)
tree3cf079b03dade302bdd2766c745d43a7cbb19d02 /libc
parent6d72960706e071e222ab772a9dfc100552473172 (diff)
create & use an internal alias to __uClibc_init()
Diffstat (limited to 'libc')
-rw-r--r--libc/misc/internals/__uClibc_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c
index 924175d97..414342c79 100644
--- a/libc/misc/internals/__uClibc_main.c
+++ b/libc/misc/internals/__uClibc_main.c
@@ -189,6 +189,7 @@ void __uClibc_init(void)
_stdio_init();
}
+hidden_strong_alias(__uClibc_init,__uClibc_init_internal)
#ifdef __UCLIBC_CTOR_DTOR__
void attribute_hidden (*__app_fini)(void) = NULL;
@@ -245,7 +246,7 @@ __uClibc_main(int (*main)(int, char **, char **), int argc,
/* We need to initialize uClibc. If we are dynamically linked this
* may have already been completed by the shared lib loader. We call
* __uClibc_init() regardless, to be sure the right thing happens. */
- __uClibc_init();
+ __uClibc_init_internal();
#ifdef __ARCH_HAS_MMU__
/* Make certain getpagesize() gives the correct answer */