]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(initial): New variable. Use to initialize __exit_funcs.
authorUlrich Drepper <drepper@redhat.com>
Mon, 11 Oct 1999 04:35:35 +0000 (04:35 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 11 Oct 1999 04:35:35 +0000 (04:35 +0000)
stdlib/atexit.c

index 80cd79ff6a6bbcb45aa2f3b6e5a5cb5042f8bcbd..e9648d60e13f1d86ef0d6647ca91e06eef5955c4 100644 (file)
@@ -40,7 +40,8 @@ atexit (void (*func) (void))
 __libc_lock_define_initialized (static, lock)
 
 
-struct exit_function_list *__exit_funcs;
+static struct exit_function_list initial;
+struct exit_function_list *__exit_funcs = &initial;
 
 struct exit_function *
 __new_exitfn (void)