summaryrefslogtreecommitdiff
path: root/lib/libc/string/strcasecmp.c
diff options
context:
space:
mode:
authorDaniel Gerzo <danger@FreeBSD.org>2009-02-03 17:58:20 +0000
committerDaniel Gerzo <danger@FreeBSD.org>2009-02-03 17:58:20 +0000
commitbd604b4b064135e661660c045cd31145e2e4ce71 (patch)
treec5d6de4ed720c8bb5b4d132f30cd8fbd28bbeb81 /lib/libc/string/strcasecmp.c
parent23ee18767ede4614aedbe8645e896f0194f3500c (diff)
Notes
Diffstat (limited to 'lib/libc/string/strcasecmp.c')
-rw-r--r--lib/libc/string/strcasecmp.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/libc/string/strcasecmp.c b/lib/libc/string/strcasecmp.c
index 2efcf55c68a4..4a474fee24a7 100644
--- a/lib/libc/string/strcasecmp.c
+++ b/lib/libc/string/strcasecmp.c
@@ -39,8 +39,7 @@ __FBSDID("$FreeBSD$");
typedef unsigned char u_char;
int
-strcasecmp(s1, s2)
- const char *s1, *s2;
+strcasecmp(const char *s1, const char *s2)
{
const u_char
*us1 = (const u_char *)s1,
@@ -53,9 +52,7 @@ strcasecmp(s1, s2)
}
int
-strncasecmp(s1, s2, n)
- const char *s1, *s2;
- size_t n;
+strncasecmp(const char *s1, const char *s2, size_t n)
{
if (n != 0) {
const u_char