summaryrefslogtreecommitdiff
path: root/libc/stdlib/atexit.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/atexit.c')
-rw-r--r--libc/stdlib/atexit.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/stdlib/atexit.c b/libc/stdlib/atexit.c
index 9164b2ac6..d22d6a5e7 100644
--- a/libc/stdlib/atexit.c
+++ b/libc/stdlib/atexit.c
@@ -44,8 +44,6 @@ typedef enum {
ef_on_exit
} ef_type; /* exit function types */
-extern void __stdio_flush_buffers(void);
-
/* this is in the L_exit object */
extern void (*__exit_cleanup) (int);
@@ -143,7 +141,7 @@ void __exit_handler(int status)
#endif
#ifdef L_exit
-extern void __stdio_flush_buffers(void);
+extern void weak_function __stdio_flush_buffers(void);
void (*__exit_cleanup) (int) = 0;
/*