From 8b7e919bac6bc01a61f24a040daac383fb5ec84d Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Wed, 14 Dec 2005 13:50:39 +0000 Subject: Hide _stdio_init/term, sorry, one change went mistakenly into the earlier commit --- libc/stdlib/abort.c | 4 ++-- libc/stdlib/atexit.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libc/stdlib') diff --git a/libc/stdlib/abort.c b/libc/stdlib/abort.c index d24d1a94c..dbd816b4e 100644 --- a/libc/stdlib/abort.c +++ b/libc/stdlib/abort.c @@ -68,9 +68,9 @@ Cambridge, MA 02139, USA. */ #endif #ifdef __UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT__ -extern void weak_function _stdio_term(void); +extern void weak_function _stdio_term(void) attribute_hidden; #endif -extern void _exit __P((int __status)) __attribute__ ((__noreturn__)); +extern void _exit (int __status) __attribute__ ((__noreturn__)); static int been_there_done_that = 0; /* Be prepared in case multiple threads try to abort() */ diff --git a/libc/stdlib/atexit.c b/libc/stdlib/atexit.c index fcf85391a..4cec3f320 100644 --- a/libc/stdlib/atexit.c +++ b/libc/stdlib/atexit.c @@ -305,7 +305,7 @@ void __exit_handler(int status) #endif #ifdef L_exit -extern void weak_function _stdio_term(void); +extern void weak_function _stdio_term(void) attribute_hidden; void (*__exit_cleanup) (int) = 0; #ifdef __UCLIBC_HAS_THREADS__ pthread_mutex_t mylock = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; -- cgit v1.2.3