summaryrefslogtreecommitdiff
path: root/libc/string/strpbrk.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-07-06 07:16:59 +0000
committerEric Andersen <andersen@codepoet.org>2000-07-06 07:16:59 +0000
commitafb85e9d6ca1de8f1ecb267e8c30b88ba4382820 (patch)
treee6b9c1e2d2b9ec890cf832dc0973231dace674c2 /libc/string/strpbrk.c
parent6811c064139574e2e2e07fdeb10218428cd68b36 (diff)
Rework all the string handling. Make const stuff be constified.
-Erik
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)