summaryrefslogtreecommitdiff
path: root/include/linux/cyclomx.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@nuerscht.ch>2005-09-10 14:45:00 -0700
committerJeff Garzik <jgarzik@pobox.com>2005-09-14 08:35:09 -0400
commit8e18d1f9c9dcbf2de5b79cad771ed639983ab6cd (patch)
treec17ceb7190fa7dfd5ad743a9af8b7a4b43aa2d7b /include/linux/cyclomx.h
parent3173c8907ffb2c64456142da3df2bd0500bd59e0 (diff)
[PATCH] Replace drivers/net/wan custom ctype macros with standard ones
Replace the custom is_digit()/is_hex_digit() macros with isdigit()/isxdigit() from <linux/ctype.h> Additionaly remove unused macro is_alpha() from <linux/wanpipe.h> Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch> Cc: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'include/linux/cyclomx.h')
-rw-r--r--include/linux/cyclomx.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/cyclomx.h b/include/linux/cyclomx.h
index 04fa7dff079c..300d704bdb9a 100644
--- a/include/linux/cyclomx.h
+++ b/include/linux/cyclomx.h
@@ -37,8 +37,6 @@
#include <linux/cycx_x25.h>
#endif
-#define is_digit(ch) (((ch)>=(unsigned)'0'&&(ch)<=(unsigned)'9')?1:0)
-
/* Adapter Data Space.
* This structure is needed because we handle multiple cards, otherwise
* static data would do it.