summaryrefslogtreecommitdiff
path: root/libc/stdlib
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-20 03:10:54 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:29 +0200
commit56023566de1169f19911097f27297c21134e1fa3 (patch)
tree3940c16084bfba9a99ef77268b418f37793cb67f /libc/stdlib
parent1d6099a2b4825b92cb09970ccfe998f8fef4d498 (diff)
remove duplicate prototypes for _stdio_term().
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/stdlib')
-rw-r--r--libc/stdlib/_atexit.c1
-rw-r--r--libc/stdlib/abort.c3
2 files changed, 1 insertions, 3 deletions
diff --git a/libc/stdlib/_atexit.c b/libc/stdlib/_atexit.c
index 770494eec..4bb884075 100644
--- a/libc/stdlib/_atexit.c
+++ b/libc/stdlib/_atexit.c
@@ -40,6 +40,7 @@
#include <features.h>
#include <unistd.h>
#include <stdlib.h>
+#include <stdio.h>
#include <errno.h>
#include <atomic.h>
diff --git a/libc/stdlib/abort.c b/libc/stdlib/abort.c
index a5bac461a..ffb7b2e37 100644
--- a/libc/stdlib/abort.c
+++ b/libc/stdlib/abort.c
@@ -47,9 +47,6 @@ static __always_inline int not_null_ptr(const void *p)
# warning "no abort instruction defined for your arch"
#endif
-#ifdef __UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT__
-extern void weak_function _stdio_term(void) attribute_hidden;
-#endif
static smallint been_there_done_that = 0;
/* Be prepared in case multiple threads try to abort() */