summaryrefslogtreecommitdiff
path: root/src/stdlib/quick_exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdlib/quick_exit.c')
-rw-r--r--src/stdlib/quick_exit.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/stdlib/quick_exit.c b/src/stdlib/quick_exit.c
index 9ad6780e..59039e7b 100644
--- a/src/stdlib/quick_exit.c
+++ b/src/stdlib/quick_exit.c
@@ -7,16 +7,16 @@ _Noreturn void quick_exit(int status)
{
SIGNAL_SAFE(1);
- if (__stdlib.exit_called == QUICK) {
- __stdlib.constraint_handler("Undefined behavior: quick_exit() called twice", NULL, 0);
+ if (__stdlib_h.exit_called == QUICK) {
+ __stdlib_h.constraint_handler("Undefined behavior: quick_exit() called twice", NULL, 0);
}
- if (__stdlib.exit_called) {
- __stdlib.constraint_handler("Undefined behavior: quick_exit() called after exit", NULL, 0);
+ if (__stdlib_h.exit_called) {
+ __stdlib_h.constraint_handler("Undefined behavior: quick_exit() called after exit", NULL, 0);
}
- __stdlib.exit_called = QUICK;
+ __stdlib_h.exit_called = QUICK;
/* execute all at_quick_exit() registered functions in reverse order */
- struct atexit *ae = &(__stdlib.at_quick_exit);
+ struct atexit *ae = &(__stdlib_h.at_quick_exit);
while (ae) {
int i = ae->nfns;
while (i > 0) {