summaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2006-11-03 16:25:27 +0000
committerJakub Jelinek <jakub@redhat.com>2006-11-03 16:25:27 +0000
commit88a65bd83c682c9bfae0ee3d769ecfee17cfccbe (patch)
tree43427616f8a4a0fe1feafc585e6a2b4b56c31b8a /stdlib
parent8dd5fcaca8ce7e43ed49879235f08d45d2a4a2e5 (diff)
Updated to fedora-glibc-20061103T1610
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 0575dda03b..256c5fcfc0 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,