diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2021-09-17 13:03:08 +0300 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2021-10-11 03:44:05 +0300 |
commit | 4f292c4886bfdfc2a7191ef4ff3f7aac69d1cc3f (patch) | |
tree | e921dc9e8d824b27ef3f9611fdc2e5860f8cbb10 /tools/bootconfig/include | |
parent | 160321b2602ff8e42ea77a09f2e3f1b35e3acfaf (diff) | |
download | linux-4f292c4886bfdfc2a7191ef4ff3f7aac69d1cc3f.tar.xz |
bootconfig: Replace u16 and u32 with uint16_t and uint32_t
Replace u16 and u32 with uint16_t and uint32_t so
that the tools/bootconfig only needs <stdint.h>.
Link: https://lkml.kernel.org/r/163187298835.2366983.9838262576854319669.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/bootconfig/include')
-rw-r--r-- | tools/bootconfig/include/linux/kernel.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/bootconfig/include/linux/kernel.h b/tools/bootconfig/include/linux/kernel.h index c4854b8e7023..39f306c18dd0 100644 --- a/tools/bootconfig/include/linux/kernel.h +++ b/tools/bootconfig/include/linux/kernel.h @@ -3,11 +3,9 @@ #define _SKC_LINUX_KERNEL_H #include <stdlib.h> +#include <stdint.h> #include <stdbool.h> -typedef unsigned short u16; -typedef unsigned int u32; - #define unlikely(cond) (cond) #define __init |