summaryrefslogtreecommitdiff
path: root/src/__undefined.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2024-05-28 15:50:03 -0400
committerJakob Kaivo <jkk@ung.org>2024-05-28 15:50:03 -0400
commitc9ec058657f9f8b3fd39a16f1a9e993b4a1e982e (patch)
tree6cf1abadd04a1a9049d82ffe0e78be7f8b4cece2 /src/__undefined.c
parentb4cd7036bea6c6440fbbcdaebe53c864c87a5646 (diff)
abstract out "forced" implementations of functions from future specifications
Diffstat (limited to 'src/__undefined.c')
-rw-r--r--src/__undefined.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/__undefined.c b/src/__undefined.c
index 40026dac..6f619393 100644
--- a/src/__undefined.c
+++ b/src/__undefined.c
@@ -3,10 +3,7 @@
#include <stdarg.h>
#include "_safety.h"
-#if __STDC_VERSION__ < 199901L
-static _Noreturn void _Exit(int);
-#include "stdlib/_Exit.c"
-#endif
+#include "_forced/_Exit.h"
_Noreturn void __undefined(const char *fmt, ...)
{