From c6b92ee07f4c13cf82bfe256101e48498bb6301b Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 19 Feb 2002 05:29:35 +0000 Subject: Doh! Miles Bader noticed a couple of spots where I forgot to mark __stdio_flush_buffers with weak_function. Oops! --- libc/stdlib/atexit.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libc/stdlib/atexit.c') 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; /* -- cgit v1.2.3