summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-08 11:26:55 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-08 11:26:55 +0000
commitf3124528fa3410a29442d7a1f2d433a9d2e8abbd (patch)
tree8a20a4ce4df4acfb67682e6d13e1fd11129d07a2
parent07122faf105b671e28a1e5208ebfd46aab3445bd (diff)
hide internal atexit symbols
-rw-r--r--libc/stdlib/atexit.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libc/stdlib/atexit.c b/libc/stdlib/atexit.c
index f6944edc5..db69902c8 100644
--- a/libc/stdlib/atexit.c
+++ b/libc/stdlib/atexit.c
@@ -66,9 +66,9 @@ typedef enum {
extern void (*__exit_cleanup) (int);
/* these are in the L___do_exit object */
-extern int __exit_slots;
-extern int __exit_count;
-extern void __exit_handler(int);
+extern int __exit_slots attribute_hidden;
+extern int __exit_count attribute_hidden;
+extern void __exit_handler(int) attribute_hidden;
struct exit_function {
/*
* 'type' should be of type of the 'enum ef_type' above but since we
@@ -88,9 +88,9 @@ struct exit_function {
} funcs;
};
#ifdef __UCLIBC_DYNAMIC_ATEXIT__
-extern struct exit_function *__exit_function_table;
+extern struct exit_function *__exit_function_table attribute_hidden;
#else
-extern struct exit_function __exit_function_table[__UCLIBC_MAX_ATEXIT];
+extern struct exit_function __exit_function_table[__UCLIBC_MAX_ATEXIT] attribute_hidden;
#endif
extern struct exit_function *__new_exitfn (void) attribute_hidden;