summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-22 08:30:39 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:31 +0200
commitb2b5d473e02d02f2888cf5848cbbdc2a46f57951 (patch)
treeb818555e139fa0f17a999d8deb183219626898e4 /libc/misc
parent95b2df38cb69face8137a8b1daf0e7113c33c274 (diff)
__uClibc_main.c: make __uClibc_init hidden
The linker can cope with it if it is hidden. No need for the __GI___uClibc_init. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/internals/__uClibc_main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c
index 0e626be17..bda1bb8b4 100644
--- a/libc/misc/internals/__uClibc_main.c
+++ b/libc/misc/internals/__uClibc_main.c
@@ -218,8 +218,7 @@ static int __check_suid(void)
* __uClibc_main.
*/
-extern void __uClibc_init(void);
-libc_hidden_proto(__uClibc_init)
+extern void __uClibc_init(void) attribute_hidden;
void __uClibc_init(void)
{
/* Don't recurse */
@@ -272,7 +271,6 @@ void __uClibc_init(void)
_stdio_init();
}
-libc_hidden_def(__uClibc_init)
#ifdef __UCLIBC_CTOR_DTOR__
void attribute_hidden (*__app_fini)(void) = NULL;