diff options
| author | junyoung <junyoung@NetBSD.org> | 2002-11-19 06:53:17 +0000 |
|---|---|---|
| committer | junyoung <junyoung@NetBSD.org> | 2002-11-19 06:53:17 +0000 |
| commit | cbf285d8cdad8ca7226cad2154bdbf43b069ca56 (patch) | |
| tree | 240fa0182355bf9b06b1a89d23705ec661f159b3 /lib/libc/string | |
| parent | 060f32c803855cdc5abdb4ec7c3da91f9b2b7adf (diff) | |
Include <sys/types.h> for u_char instead of a local definition of it.
Diffstat (limited to 'lib/libc/string')
| -rw-r--r-- | lib/libc/string/strcasecmp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/string/strcasecmp.c b/lib/libc/string/strcasecmp.c index 98758d8075a..d345110f1b7 100644 --- a/lib/libc/string/strcasecmp.c +++ b/lib/libc/string/strcasecmp.c @@ -1,4 +1,4 @@ -/* $NetBSD: strcasecmp.c,v 1.12 2000/01/22 22:19:20 mycroft Exp $ */ +/* $NetBSD: strcasecmp.c,v 1.13 2002/11/19 06:53:17 junyoung Exp $ */ /* * Copyright (c) 1987, 1993 @@ -38,10 +38,12 @@ #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.13 2002/11/19 06:53:17 junyoung Exp $"); #endif #endif /* LIBC_SCCS and not lint */ +#include <sys/types.h> + #include "namespace.h" #include <assert.h> #include <ctype.h> @@ -52,8 +54,6 @@ __weak_alias(strcasecmp,_strcasecmp) __weak_alias(strncasecmp,_strncasecmp) #endif -typedef unsigned char u_char; - int strcasecmp(s1, s2) const char *s1, *s2; |
