diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-03-10 13:40:37 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-03-10 13:40:37 +0000 |
commit | eec4b45482cb8a39d6028257d6667febd9f28af0 (patch) | |
tree | 1d44a7bd745e3e9c5b6b154d0d2d480d0acdebd5 /stdlib/at_quick_exit.c | |
parent | d7276cee74626d11aaed30b9f1928c44a79f186d (diff) | |
download | glibc-eec4b45482cb8a39d6028257d6667febd9f28af0.tar.gz glibc-eec4b45482cb8a39d6028257d6667febd9f28af0.tar.xz glibc-eec4b45482cb8a39d6028257d6667febd9f28af0.zip |
* 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.
Diffstat (limited to 'stdlib/at_quick_exit.c')
-rw-r--r-- | stdlib/at_quick_exit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stdlib/at_quick_exit.c b/stdlib/at_quick_exit.c index abe2910a7b..1d37e1c2eb 100644 --- a/stdlib/at_quick_exit.c +++ b/stdlib/at_quick_exit.c @@ -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, |