1#include <ctype.h>
2#undef isdigit
3
4int isdigit(int c) {
5    return (unsigned)c - '0' < 10;
6}
7