mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
* 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.
This commit is contained in:
@ -43,6 +43,7 @@ extern void *__dso_handle __attribute__ ((__weak__));
|
||||
|
||||
/* Register FUNC to be executed by `quick_exit'. */
|
||||
int
|
||||
attribute_hidden
|
||||
at_quick_exit (void (*func) (void))
|
||||
{
|
||||
return __cxa_at_quick_exit ((void (*) (void *)) func,
|
||||
|
Reference in New Issue
Block a user