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/ctype/isupper.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/ctype/isupper.c') diff --git a/src/ctype/isupper.c b/src/ctype/isupper.c index a9506910..ccc7ff23 100644 --- a/src/ctype/isupper.c +++ b/src/ctype/isupper.c @@ -1,7 +1,5 @@ -#if 0 - #include -#include "_assert.h" +#include #include "_ctype.h" /** test whether a character is an uppercase letter **/ @@ -28,6 +26,3 @@ C_LOCALE(`THIS() is true for the characters CHAR(A), CHAR(B), CHAR(C), CHAR(D), OTHER_LOCALES(`THIS() is true for a set of characters for which none of FUNCTION(iscntrl), FUNCTION(isdigit), FUNCTION(ispunct), or FUNCTION(isspace) is true') STDC(1) */ - - -#endif -- cgit v1.2.1