summaryrefslogtreecommitdiff
path: root/src/stdlib/__stdlib_h.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/__stdlib_h.c
parent66d9ce2cdab4e989e7b4fbab17ba7f4aa4a4af70 (diff)
rename all per-header internal structs to __<header>_h
Diffstat (limited to 'src/stdlib/__stdlib_h.c')
-rw-r--r--src/stdlib/__stdlib_h.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/stdlib/__stdlib_h.c b/src/stdlib/__stdlib_h.c
new file mode 100644
index 00000000..dd277546
--- /dev/null
+++ b/src/stdlib/__stdlib_h.c
@@ -0,0 +1,12 @@
+#include "_stdlib.h"
+
+struct __stdlib_h __stdlib_h = {
+ #if __STDC_VERSION__ >= 201112 && defined __STDC_WANT_LIB_EXT1__
+ .constraint_handler = abort_handler_s,
+ #endif
+};
+
+/*
+STDC(0)
+SIGNAL_SAFE(0)
+*/