diff options
author | H. Peter Anvin <hpa@zytor.com> | 2010-08-03 00:03:46 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-08-03 00:07:20 -0400 |
commit | 6238b47b58480cd9c092600c05338dbe261b71ce (patch) | |
tree | 83055587295af222003e505c52ea3dbae3e0c3aa /arch/x86/boot/compressed | |
parent | 8fee13a48e4879fba57725f6d9513df4bfa8e9f3 (diff) |
x86, setup: move isdigit.h to ctype.h, header files on top.
It is a subset of <ctype.h> functionality, so name it ctype.h. Also,
reorganize header files so #include statements are clustered near the
top as they should be.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
LKML-Reference: <4C5752F2.8030206@kernel.org>
Diffstat (limited to 'arch/x86/boot/compressed')
-rw-r--r-- | arch/x86/boot/compressed/misc.h | 1 | ||||
-rw-r--r-- | arch/x86/boot/compressed/string.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/boot/compressed/misc.h b/arch/x86/boot/compressed/misc.h index a267849ac1c9..3f19c81a6203 100644 --- a/arch/x86/boot/compressed/misc.h +++ b/arch/x86/boot/compressed/misc.h | |||
@@ -20,6 +20,7 @@ | |||
20 | #include <asm/bootparam.h> | 20 | #include <asm/bootparam.h> |
21 | 21 | ||
22 | #define BOOT_BOOT_H | 22 | #define BOOT_BOOT_H |
23 | #include "../ctype.h" | ||
23 | 24 | ||
24 | /* misc.c */ | 25 | /* misc.c */ |
25 | extern struct boot_params *real_mode; /* Pointer to real-mode data */ | 26 | extern struct boot_params *real_mode; /* Pointer to real-mode data */ |
diff --git a/arch/x86/boot/compressed/string.c b/arch/x86/boot/compressed/string.c index 7995c6a49509..19b3e693cd72 100644 --- a/arch/x86/boot/compressed/string.c +++ b/arch/x86/boot/compressed/string.c | |||
@@ -1,4 +1,2 @@ | |||
1 | #include "misc.h" | 1 | #include "misc.h" |
2 | |||
3 | #include "../isdigit.h" | ||
4 | #include "../string.c" | 2 | #include "../string.c" |