summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strcasecmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/string/strcasecmp.c')
-rw-r--r--src/lib/libc/string/strcasecmp.c16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/lib/libc/string/strcasecmp.c b/src/lib/libc/string/strcasecmp.c
index fe8b8eb890..1f487524aa 100644
--- a/src/lib/libc/string/strcasecmp.c
+++ b/src/lib/libc/string/strcasecmp.c
@@ -1,6 +1,8 @@
1/* $OpenBSD: strcasecmp.c,v 1.3 1997/08/20 04:13:57 millert Exp $ */
2
1/* 3/*
2 * Copyright (c) 1987 Regents of the University of California. 4 * Copyright (c) 1987, 1993
3 * All rights reserved. 5 * The Regents of the University of California. All rights reserved.
4 * 6 *
5 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
@@ -31,12 +33,16 @@
31 * SUCH DAMAGE. 33 * SUCH DAMAGE.
32 */ 34 */
33 35
36#include <string.h>
37
34#if defined(LIBC_SCCS) && !defined(lint) 38#if defined(LIBC_SCCS) && !defined(lint)
35static char *rcsid = "$OpenBSD: strcasecmp.c,v 1.2 1996/08/19 08:34:09 tholo Exp $"; 39#if 0
40static char sccsid[] = "@(#)strcasecmp.c 8.1 (Berkeley) 6/4/93";
41#else
42static char *rcsid = "$OpenBSD: strcasecmp.c,v 1.3 1997/08/20 04:13:57 millert Exp $";
43#endif
36#endif /* LIBC_SCCS and not lint */ 44#endif /* LIBC_SCCS and not lint */
37 45
38#include <string.h>
39
40typedef unsigned char u_char; 46typedef unsigned char u_char;
41 47
42/* 48/*