From 2a0c7376d044d5a79d4740701cefb36cfc483c8d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 31 Oct 2006 22:01:36 +0000 Subject: * stdlib/atexit.c (atexit): Don't mark as hidden when used to generate compatibility version. --- stdlib/atexit.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'stdlib') 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, -- cgit v1.2.3