]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
string: Group str_has_prefix() and strstarts()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 11 Jul 2025 08:55:14 +0000 (11:55 +0300)
committerKees Cook <kees@kernel.org>
Thu, 17 Jul 2025 23:39:49 +0000 (16:39 -0700)
commit2d8ae9a4f1bc04a118e3d438ac50dd49281b34fd
treed84d771559804efb18dd2f49adc5214ee6aa3709
parent10299c07c94aa0997fa43523b53301e713a6415d
string: Group str_has_prefix() and strstarts()

The two str_has_prefix() and strstarts() are about the same
with a slight difference on what they return. Group them in
the header.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20250711085514.1294428-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Kees Cook <kees@kernel.org>
include/linux/string.h