From: Ulrich Drepper Date: Mon, 11 Oct 1999 04:35:35 +0000 (+0000) Subject: (initial): New variable. Use to initialize __exit_funcs. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5556d9fec4cb08c408536e9c6c8ec85a7578ec5b;p=thirdparty%2Fglibc.git (initial): New variable. Use to initialize __exit_funcs. --- diff --git a/stdlib/atexit.c b/stdlib/atexit.c index 80cd79ff6a6..e9648d60e13 100644 --- a/stdlib/atexit.c +++ b/stdlib/atexit.c @@ -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)