Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6238b47b authored by H. Peter Anvin's avatar H. Peter Anvin
Browse files

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: default avatarH. Peter Anvin <hpa@zytor.com>
LKML-Reference: <4C5752F2.8030206@kernel.org>
parent 8fee13a4
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -28,6 +28,7 @@
#include "bitops.h"
#include <asm/cpufeature.h>
#include <asm/processor-flags.h>
#include "ctype.h"

/* Useful macros */
#define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
@@ -200,8 +201,6 @@ static inline int memcmp_gs(const void *s1, addr_t s2, size_t len)
	return diff;
}

#include "isdigit.h"

/* Heap -- available for dynamic lists. */
extern char _end[];
extern char *HEAP;
+1 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@
#include <asm/bootparam.h>

#define BOOT_BOOT_H
#include "../ctype.h"

/* misc.c */
extern struct boot_params *real_mode;		/* Pointer to real-mode data */
+0 −2
Original line number Diff line number Diff line
#include "misc.h"

#include "../isdigit.h"
#include "../string.c"
+0 −0

File moved.