+2005-10-09 Bruno Haible <bruno@clisp.org>
+
+ * msgl-check.c: Include c-ctype.h instead of ctype.h.
+ (check_plural): Use c_isspace instead of isspace.
+ * x-librep.c: Include c-ctype.h instead of ctype.h.
+ (read_token): Use c_isxdigit instead of isxdigit.
+ * x-rst.c: Include c-ctype.h instead of ctype.h.
+ (extract_rst): Use c_isdigit instead of isdigit.
+ * x-ycp.c: Don't include ctype.h.
+
2005-10-09 Bruno Haible <bruno@clisp.org>
* plural-exp.c: Renamed from plural.c.
/* Specification. */
#include "msgl-check.h"
-#include <ctype.h>
#include <limits.h>
#include <setjmp.h>
#include <signal.h>
#include <string.h>
#include <stdarg.h>
+#include "c-ctype.h"
#include "xalloc.h"
#include "xerror.h"
#include "po-xerror.h"
/* First check the number. */
nplurals += 9;
- while (*nplurals != '\0' && isspace ((unsigned char) *nplurals))
+ while (*nplurals != '\0' && c_isspace ((unsigned char) *nplurals))
++nplurals;
endp = nplurals;
nplurals_value = 0;
# include "config.h"
#endif
-#include <ctype.h>
#include <errno.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include "c-ctype.h"
#include "message.h"
#include "xgettext.h"
#include "x-librep.h"
break;
if ((radix <= 10
&& !(c >= '0' && c <= '0' + radix - 1))
- || (radix == 16 && !isxdigit (c)))
+ || (radix == 16 && !c_isxdigit (c)))
radix = 0;
break;
}
# include "config.h"
#endif
-#include <ctype.h>
#include <errno.h>
#include <stdio.h>
#include <stddef.h>
+#include "c-ctype.h"
#include "message.h"
#include "xgettext.h"
#include "x-rst.h"
c = getc (f);
if (c == EOF && ferror (f))
goto bomb;
- if (c == EOF || !isdigit (c))
+ if (c == EOF || !c_isdigit (c))
{
error_with_progname = false;
error (EXIT_FAILURE, 0, _("%s:%d: missing number after #"),
for (;;)
{
c = getc (f);
- if (c == EOF || !isdigit (c))
+ if (c == EOF || !c_isdigit (c))
break;
n = n * 10 + (c - '0');
}
# include "config.h"
#endif
-#include <ctype.h>
#include <errno.h>
#include <limits.h>
#include <stdbool.h>