diff options
| author | Jakob Kaivo <jkk@ung.org> | 2024-06-05 15:07:06 -0400 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2024-06-05 15:07:06 -0400 |
| commit | 1161633db54ce8fd1180649f52909390a2986213 (patch) | |
| tree | 81eb6390d21e2ad435595f534664121b181a5bb5 /src/signal | |
| parent | 66d9ce2cdab4e989e7b4fbab17ba7f4aa4a4af70 (diff) | |
rename all per-header internal structs to __<header>_h
Diffstat (limited to 'src/signal')
| -rw-r--r-- | src/signal/__signal_h.c | 2 | ||||
| -rw-r--r-- | src/signal/__signal_handler.c | 2 | ||||
| -rw-r--r-- | src/signal/_signal.h | 2 | ||||
| -rw-r--r-- | src/signal/raise.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/signal/__signal_h.c b/src/signal/__signal_h.c index fde51b63..87ec8e28 100644 --- a/src/signal/__signal_h.c +++ b/src/signal/__signal_h.c @@ -1,6 +1,6 @@ #include "_signal.h" -struct __signal __signal_h = { 0 }; +struct __signal_h __signal_h = { 0 }; /* STDC(0) diff --git a/src/signal/__signal_handler.c b/src/signal/__signal_handler.c index 2e8afd1e..7bd6718a 100644 --- a/src/signal/__signal_handler.c +++ b/src/signal/__signal_handler.c @@ -5,7 +5,7 @@ void __signal_handler(int sig) { - if (__stdlib.exit_called == QUICK) { + if (__stdlib_h.exit_called == QUICK) { UNDEFINED("signal %d occured during quick_exit", sig); } diff --git a/src/signal/_signal.h b/src/signal/_signal.h index f450c053..1e484f83 100644 --- a/src/signal/_signal.h +++ b/src/signal/_signal.h @@ -7,7 +7,7 @@ typedef void (*handler)(int); -extern struct __signal { +extern struct __signal_h { int current; handler handlers[NSIGNALS]; } __signal_h; diff --git a/src/signal/raise.c b/src/signal/raise.c index 0547e4a1..7b3d876e 100644 --- a/src/signal/raise.c +++ b/src/signal/raise.c @@ -11,7 +11,7 @@ int raise(int sig) { SIGNAL_SAFE(0); - if (__stdlib.exit_called == QUICK) { + if (__stdlib_h.exit_called == QUICK) { UNDEFINED("raise() called during quick_exit()"); } /* |
