summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-15 20:15:06 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:24 +0200
commitc5bebf9403325633b66f1b69346c40141cac8da2 (patch)
tree92b26f731fee5036b0e41a10797219a856466587 /libc
parent30118e361f4ff11bad89b6ff765dd75e44107fb5 (diff)
make __uClibc_fini() hidden
No need for a visible version 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')
-rw-r--r--libc/misc/internals/__uClibc_main.c4
-rw-r--r--libc/stdlib/_atexit.c3
2 files changed, 2 insertions, 5 deletions
diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c
index 8e9d58f7c..0e626be17 100644
--- a/libc/misc/internals/__uClibc_main.c
+++ b/libc/misc/internals/__uClibc_main.c
@@ -280,8 +280,7 @@ void attribute_hidden (*__app_fini)(void) = NULL;
void attribute_hidden (*__rtld_fini)(void) = NULL;
-extern void __uClibc_fini(void);
-libc_hidden_proto(__uClibc_fini)
+extern void __uClibc_fini(void) attribute_hidden;
void __uClibc_fini(void)
{
#ifdef __UCLIBC_CTOR_DTOR__
@@ -300,7 +299,6 @@ void __uClibc_fini(void)
if (__rtld_fini != NULL)
(__rtld_fini)();
}
-libc_hidden_def(__uClibc_fini)
#ifndef SHARED
extern void __nptl_deallocate_tsd (void) __attribute ((weak));
diff --git a/libc/stdlib/_atexit.c b/libc/stdlib/_atexit.c
index 48b97ffd2..f49d5c3f4 100644
--- a/libc/stdlib/_atexit.c
+++ b/libc/stdlib/_atexit.c
@@ -318,8 +318,7 @@ extern void weak_function _stdio_term(void) attribute_hidden;
attribute_hidden void (*__exit_cleanup)(int) = 0;
__UCLIBC_MUTEX_INIT(__atexit_lock, PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP);
-extern void __uClibc_fini(void);
-libc_hidden_proto(__uClibc_fini)
+extern void __uClibc_fini(void) attribute_hidden;
/*
* Normal program termination