Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/lib/libc/string Pull up revision 1.15 (requested by jun...
details: https://anonhg.NetBSD.org/src/rev/ca1d5e47349f
branches: netbsd-1-6
changeset: 530742:ca1d5e47349f
user: tron <tron%NetBSD.org@localhost>
date: Wed Sep 24 11:10:37 2003 +0000
description:
Pull up revision 1.15 (requested by junyoung in ticket #1470):
Use unsigned char rather than u_char.
diffstat:
lib/libc/string/strcasecmp.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (40 lines):
diff -r a162d042d4a6 -r ca1d5e47349f lib/libc/string/strcasecmp.c
--- a/lib/libc/string/strcasecmp.c Wed Sep 24 11:08:08 2003 +0000
+++ b/lib/libc/string/strcasecmp.c Wed Sep 24 11:10:37 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: strcasecmp.c,v 1.12 2000/01/22 22:19:20 mycroft Exp $ */
+/* $NetBSD: strcasecmp.c,v 1.12.8.1 2003/09/24 11:10:37 tron 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.12 2000/01/22 22:19:20 mycroft Exp $");
+__RCSID("$NetBSD: strcasecmp.c,v 1.12.8.1 2003/09/24 11:10:37 tron Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -58,8 +58,8 @@
strcasecmp(s1, s2)
const char *s1, *s2;
{
- const u_char *us1 = (const u_char *)s1,
- *us2 = (const u_char *)s2;
+ const unsigned char *us1 = (const unsigned char *)s1,
+ *us2 = (const unsigned char *)s2;
_DIAGASSERT(s1 != NULL);
_DIAGASSERT(s2 != NULL);
@@ -82,8 +82,8 @@
return (0);
if (n != 0) {
- const u_char *us1 = (const u_char *)s1,
- *us2 = (const u_char *)s2;
+ const unsigned char *us1 = (const unsigned char *)s1,
+ *us2 = (const unsigned char *)s2;
do {
if (tolower(*us1) != tolower(*us2++))
Home |
Main Index |
Thread Index |
Old Index