From eec4b45482cb8a39d6028257d6667febd9f28af0 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 10 Mar 2009 13:40:37 +0000 Subject: * stdlib/quick_exit.c (quick_exit): Pass &__quick_exit_funcs instead of __quick_exit_funcs to __run_exit_handlers. * stdlib/at_quick_exit.c (at_quick_exit): Add attribute_hidden. * stdlib/exit.h (__run_exit_handlers): Add noreturn attribute. (__cxa_at_quick_exit): Remove attribute_hidden. * stdlib/exit.c (exit): Pass &__exit_funcs instead of __exit_funcs to __run_exit_handlers. * stdlib/cxa_at_quick_exit.c (__cxa_at_quick_exit): Remove attribute_hidden. --- stdlib/exit.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'stdlib/exit.h') diff --git a/stdlib/exit.h b/stdlib/exit.h index 948948d..d501321 100644 --- a/stdlib/exit.h +++ b/stdlib/exit.h @@ -66,13 +66,13 @@ extern struct exit_function *__new_exitfn (struct exit_function_list **listp); extern uint64_t __new_exitfn_called attribute_hidden; extern void __run_exit_handlers (int status, struct exit_function_list **listp, - bool run_list_atexit) attribute_hidden; + bool run_list_atexit) + attribute_hidden __attribute__ ((__noreturn__)); extern int __internal_atexit (void (*func) (void *), void *arg, void *d, struct exit_function_list **listp) attribute_hidden; -extern int __cxa_at_quick_exit (void (*func) (void *), void *d) - attribute_hidden; +extern int __cxa_at_quick_exit (void (*func) (void *), void *d); #endif /* exit.h */ -- cgit v1.1