aboutsummaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-10-31 22:01:36 +0000
committerUlrich Drepper <drepper@redhat.com>2006-10-31 22:01:36 +0000
commit2a0c7376d044d5a79d4740701cefb36cfc483c8d (patch)
tree79922cebafa5966b501bef17d67bf4bd75d65bab /stdlib
parent416b630981788c1f08e746e19765aa0e5c2a1360 (diff)
downloadglibc-2a0c7376d044d5a79d4740701cefb36cfc483c8d.zip
glibc-2a0c7376d044d5a79d4740701cefb36cfc483c8d.tar.gz
glibc-2a0c7376d044d5a79d4740701cefb36cfc483c8d.tar.bz2
* stdlib/atexit.c (atexit): Don't mark as hidden when used to
generate compatibility version.
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/atexit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/stdlib/atexit.c b/stdlib/atexit.c
index 0575dda..256c5fc 100644
--- a/stdlib/atexit.c
+++ b/stdlib/atexit.c
@@ -43,7 +43,9 @@ extern void *__dso_handle __attribute__ ((__weak__));
/* Register FUNC to be executed by `exit'. */
int
+#ifndef atexit
attribute_hidden
+#endif
atexit (void (*func) (void))
{
return __cxa_atexit ((void (*) (void *)) func, NULL,