summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strcspn.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/string/strcspn.c')
-rw-r--r--lib/libc/string/strcspn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/string/strcspn.c b/lib/libc/string/strcspn.c
index d4dac4d..2ec9326 100644
--- a/lib/libc/string/strcspn.c
+++ b/lib/libc/string/strcspn.c
@@ -48,10 +48,10 @@ __FBSDID("$FreeBSD$");
size_t
strcspn(s1, s2)
const char *s1;
- register const char *s2;
+ const char *s2;
{
- register const char *p, *spanp;
- register char c, sc;
+ const char *p, *spanp;
+ char c, sc;
/*
* Stop as soon as we find any character from s2. Note that there
OpenPOWER on IntegriCloud