From f3124528fa3410a29442d7a1f2d433a9d2e8abbd Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 8 Jan 2006 11:26:55 +0000 Subject: hide internal atexit symbols --- libc/stdlib/atexit.c | 10 +++++----- 1 file 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; -- cgit v1.2.3