diff options
| author | Rasmus Villemoes <[email protected]> | 2026-07-08 22:37:07 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-07-21 13:51:07 -0600 |
| commit | 13822d7f42706da356368f1389f8de10ac9869a5 (patch) | |
| tree | fd12cfe4a10855e826ebdc7f692380f65fb29be2 /include/linux | |
| parent | 07fcb18623b4d4ad604668cfccb63890ce300ce5 (diff) | |
string: add strcasestr()
While this is not likely needed by any "real" driver code, a later
convenience addition to the "config" command will need this. As usual,
the linker will throw it away if nothing actually uses it, so it
should have no size impact when not used.
Reviewed-by: Simon Glass <[email protected]>
Signed-off-by: Rasmus Villemoes <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/string.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/string.h b/include/linux/string.h index 5e4594b19df..986499dfc70 100644 --- a/include/linux/string.h +++ b/include/linux/string.h @@ -71,6 +71,7 @@ extern char * strstr(const char *,const char *); #ifndef __HAVE_ARCH_STRNSTR extern char *strnstr(const char *, const char *, size_t); #endif +char *strcasestr(const char *, const char *); #ifndef __HAVE_ARCH_STRLEN extern __kernel_size_t strlen(const char *); #endif |
