projects
/
linux-2.6-block.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Merge branch 'for-4.0' of git://linux-nfs.org/~bfields/linux
[linux-2.6-block.git]
/
arch
/
x86
/
boot
/
ctype.h
1
#ifndef BOOT_CTYPE_H
2
#define BOOT_CTYPE_H
3
4
static inline int isdigit(int ch)
5
{
6
return (ch >= '0') && (ch <= '9');
7
}
8
9
static inline int isxdigit(int ch)
10
{
11
if (isdigit(ch))
12
return true;
13
14
if ((ch >= 'a') && (ch <= 'f'))
15
return true;
16
17
return (ch >= 'A') && (ch <= 'F');
18
}
19
20
#endif