The recent removal of STDC_HEADERS made IN_CTYPE_DOMAIN be defined
to 1 unconditionally. Remove the now unnecessary definition, and
propagate its truthness to expressions where it was used.
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
# define __bool_true_false_are_defined 1
#endif
-#define ISDIGIT_LOCALE(c) (IN_CTYPE_DOMAIN (c) && isdigit (c))
+#define ISDIGIT_LOCALE(c) isdigit (c)
/* Take care of NLS matters. */
#ifdef S_SPLINT_S
#include <ctype.h>
#include <time.h>
-#define IN_CTYPE_DOMAIN(c) 1
-
-#define ISSPACE(c) (IN_CTYPE_DOMAIN (c) && isspace (c))
-#define ISALPHA(c) (IN_CTYPE_DOMAIN (c) && isalpha (c))
-#define ISUPPER(c) (IN_CTYPE_DOMAIN (c) && isupper (c))
-#define ISDIGIT_LOCALE(c) (IN_CTYPE_DOMAIN (c) && isdigit (c))
+#define ISSPACE(c) isspace (c)
+#define ISALPHA(c) isalpha (c)
+#define ISUPPER(c) isupper (c)
+#define ISDIGIT_LOCALE(c) isdigit (c)
/* ISDIGIT differs from ISDIGIT_LOCALE, as follows:
- Its arg may be any int or unsigned int; it need not be an unsigned char.