summaryrefslogtreecommitdiff
path: root/libc/stdlib
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-14 13:50:39 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-14 13:50:39 +0000
commit8b7e919bac6bc01a61f24a040daac383fb5ec84d (patch)
treef141c54628babadddf33bf6cea0e25d7b7516b7c /libc/stdlib
parent3c2175b12b8a6cd2362a8c5bd8e2e31d54a8b4da (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.c4
-rw-r--r--libc/stdlib/atexit.c2
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;