summaryrefslogtreecommitdiff
path: root/lib/libc/string/strspn.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/string/strspn.c')
-rw-r--r--lib/libc/string/strspn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/string/strspn.c b/lib/libc/string/strspn.c
index 6d2510f7d161..5612ba045457 100644
--- a/lib/libc/string/strspn.c
+++ b/lib/libc/string/strspn.c
@@ -45,10 +45,10 @@ __FBSDID("$FreeBSD$");
size_t
strspn(s1, s2)
const char *s1;
- register const char *s2;
+ const char *s2;
{
- register const char *p = s1, *spanp;
- register char c, sc;
+ const char *p = s1, *spanp;
+ char c, sc;
/*
* Skip any characters in s2, excluding the terminating \0.