diff options
| author | Jakob Kaivo <jkk@ung.org> | 2024-01-31 01:19:23 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2024-01-31 01:19:23 -0500 |
| commit | 0f649efceacd8f9eb921d5765dfa73b0771b1fcd (patch) | |
| tree | faadaeae5c3277435d97650fcc22be5203e17c35 /src/stdlib/_stdlib.h | |
| parent | 28a7e3dfb4ca2bd407508ef789bf1859acd9b969 (diff) | |
use a single variable for tracking exit calls
Diffstat (limited to 'src/stdlib/_stdlib.h')
| -rw-r--r-- | src/stdlib/_stdlib.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/stdlib/_stdlib.h b/src/stdlib/_stdlib.h index de5a97d0..769f220b 100644 --- a/src/stdlib/_stdlib.h +++ b/src/stdlib/_stdlib.h @@ -20,8 +20,7 @@ struct __stdlib { struct atexit *next; struct atexit *prev; } atexit, at_quick_exit; - int exit_called; - int quick_exit_called; + enum { REGULAR = 1, QUICK } exit_called; unsigned int rand; char **environ; constraint_handler_t constraint_handler; |
