kernel.h: Move lib/cmdline.c prototypes to string.h
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 3 Oct 2023 13:01:42 +0000 (16:01 +0300)
committerKees Cook <keescook@chromium.org>
Thu, 29 Feb 2024 21:38:03 +0000 (13:38 -0800)
commit57914905f3ff2212a949e7191d52d9994c2c6215
treeccd18fc5f2e1f4472c378c313a7a33ead1a5fd6f
parent67bbd2f00735d7f5ad6c3d08eff6c5403c3a9c33
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>
include/linux/kernel.h
include/linux/string.h