summaryrefslogtreecommitdiff
path: root/libc/string/strpbrk.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/strpbrk.c')
-rw-r--r--libc/string/strpbrk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/string/strpbrk.c b/libc/string/strpbrk.c
index 3fc27ec70..7e6b1a4a2 100644
--- a/libc/string/strpbrk.c
+++ b/libc/string/strpbrk.c
@@ -8,8 +8,8 @@
/* This uses strchr, strchr should be in assembler */
char *strpbrk(str, set)
-register char *str;
-char *set;
+register const char *str;
+const char *set;
{
while (*str != '\0')
if (strchr(set, *str) == 0)