summaryrefslogtreecommitdiff
path: root/src/string/strtok_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/strtok_r.c')
-rw-r--r--src/string/strtok_r.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string/strtok_r.c b/src/string/strtok_r.c
index c763897a..862d4fe4 100644
--- a/src/string/strtok_r.c
+++ b/src/string/strtok_r.c
@@ -1,6 +1,6 @@
#include <string.h>
-char *strtok_r(char *s, const char *sep, char **p)
+char *strtok_r(char *restrict s, const char *restrict sep, char **restrict p)
{
if (!s && !(s = *p)) return NULL;
s += strspn(s, sep);