diff options
author | Tom Rini <trini@konsulko.com> | 2025-02-12 08:41:36 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-02-12 12:37:30 -0600 |
commit | 9b35357b95e30fd670869b4348159b65e102cc82 (patch) | |
tree | 2aee5b7566dc114ee0f02c4507c94885d1eb72d2 /include/linux/string.h | |
parent | 3da1864b1f2fc3cf2b4eaa1849bcafa669ff674c (diff) | |
parent | a091d173e32b98fe372b5b02d4e25c81f1bc9dc1 (diff) |
Merge branch 'u-boot-net-20250212' of https://source.denx.de/u-boot/custodians/u-boot-net
CI: https://source.denx.de/u-boot/custodians/u-boot-net/-/pipelines/24577
net-lwip:
* Fix incorrect selection of ethernet device on boards having more than
one
* Fix TFTP option processing
* Make the WGET_HTTPS Kconfig symbol depend on DM_RNG
lib:
* Add strnstr()
Diffstat (limited to 'include/linux/string.h')
-rw-r--r-- | include/linux/string.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/string.h b/include/linux/string.h index 27b2beb9ddb..d943fcce690 100644 --- a/include/linux/string.h +++ b/include/linux/string.h @@ -72,6 +72,9 @@ extern char * strrchr(const char *,int); #ifndef __HAVE_ARCH_STRSTR extern char * strstr(const char *,const char *); #endif +#ifndef __HAVE_ARCH_STRNSTR +extern char *strnstr(const char *, const char *, size_t); +#endif #ifndef __HAVE_ARCH_STRLEN extern __kernel_size_t strlen(const char *); #endif |