[PATCH 2/4] arch/ppc: Replace custom macro with isdigit()

Paul Mackerras paulus at samba.org
Sat Sep 10 23:26:14 EST 2005


Tobias Klauser writes:

> Replace the custom is_digit() macro with isdigit() from <linux/ctype.h>

NAK.  No point pulling in 256 bytes of _ctype array when all we use it
for is two '0' <= c <= '9' comparisons.

In fact Tom Rini maintains this code, so it's his opinion that counts.

Paul.



More information about the Linuxppc-dev mailing list