summaryrefslogtreecommitdiff
path: root/common/lib/libc/string/strcasecmp.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2007-06-04 18:19:26 +0000
committerchristos <christos@NetBSD.org>2007-06-04 18:19:26 +0000
commita8565cf99b88ffe6143bc83dbb95eb10c476ce23 (patch)
treee91c2bc1334427d8e8a680abdbd68e88a49f9096 /common/lib/libc/string/strcasecmp.c
parent2219d66ee753e7e806b94d82a436684259184fbf (diff)
handle fortify, ansify.
Diffstat (limited to 'common/lib/libc/string/strcasecmp.c')
-rw-r--r--common/lib/libc/string/strcasecmp.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/common/lib/libc/string/strcasecmp.c b/common/lib/libc/string/strcasecmp.c
index ff8aea0efa4..ad4e78ee7ed 100644
--- a/common/lib/libc/string/strcasecmp.c
+++ b/common/lib/libc/string/strcasecmp.c
@@ -1,4 +1,4 @@
-/* $NetBSD: strcasecmp.c,v 1.1 2005/12/20 19:28:52 christos Exp $ */
+/* $NetBSD: strcasecmp.c,v 1.2 2007/06/04 18:19:27 christos Exp $ */
/*
* Copyright (c) 1987, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)strcasecmp.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: strcasecmp.c,v 1.1 2005/12/20 19:28:52 christos Exp $");
+__RCSID("$NetBSD: strcasecmp.c,v 1.2 2007/06/04 18:19:27 christos Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -53,8 +53,7 @@ __weak_alias(strncasecmp,_strncasecmp)
#endif
int
-strcasecmp(s1, s2)
- const char *s1, *s2;
+strcasecmp(const char *s1, const char *s2)
{
const unsigned char *us1 = (const unsigned char *)s1,
*us2 = (const unsigned char *)s2;