From 79551f5c04d20990e64b26bf577f70eeaeb38652 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Tue, 14 Nov 2023 12:56:01 -0500 Subject: enable UB-testing for isupper() --- src/stdlib/__stdlib.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/stdlib/__stdlib.c') diff --git a/src/stdlib/__stdlib.c b/src/stdlib/__stdlib.c index aa67fa10..b6423713 100644 --- a/src/stdlib/__stdlib.c +++ b/src/stdlib/__stdlib.c @@ -1,12 +1,9 @@ -#if 0 - #include "_stdlib.h" -struct __stdlib __stdlib; +struct __stdlib __stdlib = { + .constraint_handler = abort_handler_s, +}; /* STDC(0) */ - - -#endif -- cgit v1.2.1