X(isspace) \
X(isupper) \
X(isxdigit) \
+ X(tolower) \
+ X(toupper) \
#if (defined (_BSD_SOURCE) && _BSD_SOURCE) || \
(defined (_SVID_SOURCE) && _SVID_SOURCE) || \
(defined (_XOPEN_SOURCE) && _XOPEN_SOURCE)
-# define CTYPE_FUNCTION_ISASCII X(isascii)
+# define CTYPE_FUNCTION_ISASCII X(isascii) \
+ X(toascii)
#else
# define CTYPE_FUNCTION_ISASCII
#endif
/* Need to put a symbol in the .c file with NDEBUG so the
compilation unit isn't empty. */
- fputs ("#else /* NDEBUG */\n\nint ctype_checked;\n\n", cfile);
+ fputs ("#else /* NDEBUG */\n\nvoid ctype_checked();\n\n", cfile);
fputs ("#endif /* NDEBUG */\n", cfile);
fprintf (header, "#endif /* CTYPE_CHECKED_H */\n");
} else {