Message ID | 20240705120512.12046-2-alx@kernel.org |
---|---|
State | New |
Headers | show |
Series | [v2] string/string.h: strsep(): Remove 'restrict' from delim | expand |
diff --git a/string/string.h b/string/string.h index d2d5c5f1f9..256e2b181f 100644 --- a/string/string.h +++ b/string/string.h @@ -468,8 +468,7 @@ extern void explicit_bzero (void *__s, size_t __n) __THROW __nonnull ((1)) /* Return the next DELIM-delimited token from *STRINGP, terminating it with a '\0', and update *STRINGP to point past it. */ -extern char *strsep (char **__restrict __stringp, - const char *__restrict __delim) +extern char *strsep (char **__restrict __stringp, const char *__delim) __THROW __nonnull ((1, 2)); #endif