diff options
author | Jakob Kaivo <jkk@ung.org> | 2023-11-14 12:56:01 -0500 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2023-11-14 12:56:01 -0500 |
commit | 79551f5c04d20990e64b26bf577f70eeaeb38652 (patch) | |
tree | cf9211c4ddf105221ca33a193cbbe3eb6851eea1 /src/ctype/isupper.c | |
parent | 9e22ec98f4132300301d32f033b2c4d6e4ff5c1d (diff) |
enable UB-testing for isupper()
Diffstat (limited to 'src/ctype/isupper.c')
-rw-r--r-- | src/ctype/isupper.c | 7 |
1 files changed, 1 insertions, 6 deletions
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 <limits.h> -#include "_assert.h" +#include <stdio.h> #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 |