diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-10-03 16:01:42 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2024-02-29 13:38:03 -0800 |
commit | 57914905f3ff2212a949e7191d52d9994c2c6215 (patch) | |
tree | ccd18fc5f2e1f4472c378c313a7a33ead1a5fd6f /include/linux/kernel.h | |
parent | 67bbd2f00735d7f5ad6c3d08eff6c5403c3a9c33 (diff) | |
download | linux-57914905f3ff2212a949e7191d52d9994c2c6215.tar.gz |
kernel.h: Move lib/cmdline.c prototypes to string.h
The lib/cmdline.c is basically a set of some small string parsers
which are wide used in the kernel. Their prototypes belong to the
string.h rather then kernel.h.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20231003130142.2936503-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'include/linux/kernel.h')
-rw-r--r-- | include/linux/kernel.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index 86dd8939c2cd5e..d718fbec72dd66 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h @@ -165,12 +165,6 @@ static inline void might_fault(void) { } void do_exit(long error_code) __noreturn; -extern int get_option(char **str, int *pint); -extern char *get_options(const char *str, int nints, int *ints); -extern unsigned long long memparse(const char *ptr, char **retptr); -extern bool parse_option_str(const char *str, const char *option); -extern char *next_arg(char *args, char **param, char **val); - extern int core_kernel_text(unsigned long addr); extern int __kernel_text_address(unsigned long addr); extern int kernel_text_address(unsigned long addr); |