summaryrefslogtreecommitdiff
path: root/lib/libc/string/strcasecmp.c
diff options
context:
space:
mode:
authorperry <perry@NetBSD.org>1998-02-03 18:49:08 +0000
committerperry <perry@NetBSD.org>1998-02-03 18:49:08 +0000
commit741740203c87af80a4aeb5c36e06cd8e904cf03b (patch)
tree77f243a86baea58b21b47106fc7b64b900f53aef /lib/libc/string/strcasecmp.c
parentc8bafd6265d904677e886f6dbd842f26424df1de (diff)
remove obsolete register declarations
Diffstat (limited to 'lib/libc/string/strcasecmp.c')
-rw-r--r--lib/libc/string/strcasecmp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/string/strcasecmp.c b/lib/libc/string/strcasecmp.c
index 282fdf9b868..e7eb5f3a68b 100644
--- a/lib/libc/string/strcasecmp.c
+++ b/lib/libc/string/strcasecmp.c
@@ -1,4 +1,4 @@
-/* $NetBSD: strcasecmp.c,v 1.8 1998/01/30 23:38:25 perry Exp $ */
+/* $NetBSD: strcasecmp.c,v 1.9 1998/02/03 18:49:17 perry Exp $ */
/*
* Copyright (c) 1987, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)strcasecmp.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: strcasecmp.c,v 1.8 1998/01/30 23:38:25 perry Exp $");
+__RCSID("$NetBSD: strcasecmp.c,v 1.9 1998/02/03 18:49:17 perry Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -57,7 +57,7 @@ int
strcasecmp(s1, s2)
const char *s1, *s2;
{
- register const u_char *us1 = (const u_char *)s1,
+ const u_char *us1 = (const u_char *)s1,
*us2 = (const u_char *)s2;
while (tolower(*us1) == tolower(*us2++))
@@ -69,10 +69,10 @@ strcasecmp(s1, s2)
int
strncasecmp(s1, s2, n)
const char *s1, *s2;
- register size_t n;
+ size_t n;
{
if (n != 0) {
- register const u_char *us1 = (const u_char *)s1,
+ const u_char *us1 = (const u_char *)s1,
*us2 = (const u_char *)s2;
do {