Skip to content
Commit 05b981f4 authored by Vincent Bernat's avatar Vincent Bernat Committed by Michael Ellerman
Browse files

powerpc/xmon: use isspace/isxdigit/isalnum from linux/ctype.h



isxdigit() macro definition is the same.

isalnum() from linux/ctype.h will accept additional latin non-ASCII
characters. This is harmless since this macro is used in scanhex() which
parses user input.

isspace() from linux/ctype.h will accept vertical tab and form feed but
not NULL. The use of this macro is modified to accept NULL as
well. Additional characters are harmless since this macro is also only
used in scanhex().

Signed-off-by: default avatarVincent Bernat <vincent@bernat.im>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent e3a8446a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment