From a83c32e036222fc33cd99fd9f97b067b5e6442dd Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 8 Jan 2006 12:02:48 +0000 Subject: create & use an internal alias to __uClibc_init() --- libc/misc/internals/__uClibc_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libc/misc/internals') 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 */ -- cgit v1.2.3