diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-14 13:50:39 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-14 13:50:39 +0000 |
commit | 8b7e919bac6bc01a61f24a040daac383fb5ec84d (patch) | |
tree | f141c54628babadddf33bf6cea0e25d7b7516b7c /libc/stdlib | |
parent | 3c2175b12b8a6cd2362a8c5bd8e2e31d54a8b4da (diff) |
Hide _stdio_init/term, sorry, one change went mistakenly into the earlier commit
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; |