On 2026-07-01T17:15:27, Rasmus Villemoes <[email protected]> wrote:
> string: correct prototype of strchrnul()
>
> Both glibc's (where this originated as a GNU extension) and the
> kernel's versions of strchrnul() return "char *", not "const
> char *". That also makes it consistent with the standard strchr()
> function.
>
> Signed-off-by: Rasmus Villemoes <[email protected]>
>
> include/linux/string.h | 2 +-
>  lib/string.c           | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to