diff options
Diffstat (limited to 'libc/string')
-rw-r--r-- | libc/string/strcspn.c | 6 |
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++) { |