diff options
Diffstat (limited to 'libc/stdlib')
-rw-r--r-- | libc/stdlib/abort.c | 4 | ||||
-rw-r--r-- | libc/stdlib/atexit.c | 2 |
2 files changed, 3 insertions, 3 deletions
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; |