summaryrefslogtreecommitdiff
path: root/src/stdlib/quick_exit.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2024-06-05 15:07:06 -0400
committerJakob Kaivo <jkk@ung.org>2024-06-05 15:07:06 -0400
commit1161633db54ce8fd1180649f52909390a2986213 (patch)
tree81eb6390d21e2ad435595f534664121b181a5bb5 /src/stdlib/quick_exit.c
parent66d9ce2cdab4e989e7b4fbab17ba7f4aa4a4af70 (diff)
rename all per-header internal structs to __<header>_h
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) {