[PATCH] ppc/xmon: use isxdigit/isspace/isalnum from ctype.h

David Laight David.Laight at ACULAB.COM
Tue Jul 15 18:55:07 EST 2014


From: Vincent Bernat
> Use linux/ctype.h instead of defining custom versions of
> isxdigit/isspace/isalnum.

...
> -#define isspace(c)	(c == ' ' || c == '\t' || c == 10 || c == 13 || c == 0)

That is different from the version in linux/ctype.h
Especially for 'c == 0', but probably also vertical tab and form feed.

	David



More information about the Linuxppc-dev mailing list