summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-06-01 16:32:02 +0000
committerEric Andersen <andersen@codepoet.org>2001-06-01 16:32:02 +0000
commitaafa530c0d0c71459053b0be4abb093282278c3d (patch)
tree3d68800636207cb373a72fb9d1864459e77be9fc /libc
parent06777c5b96ee377bb96e067effce5ca0ad1d3fa8 (diff)
oops.
Diffstat (limited to 'libc')
-rw-r--r--libc/string/strcspn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/string/strcspn.c b/libc/string/strcspn.c
index 4b698b55e..6ba03dd37 100644
--- a/libc/string/strcspn.c
+++ b/libc/string/strcspn.c
@@ -22,9 +22,9 @@
which contains no characters from REJECT. */
size_t strcspn( const char *s, const char *reject)
{
- register char *scan1;
- register char *scan2;
- size_t int count;
+ register const char *scan1;
+ register const char *scan2;
+ size_t count;
count = 0;
for (scan1 = s; *scan1 != '\0'; scan1++) {