summaryrefslogtreecommitdiff
path: root/lib/libc/string/strncmp.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2004-11-28 07:16:55 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2004-11-28 07:16:55 +0000
commitefe7545fedd75d79db801efe237e3436dfb03b21 (patch)
treeb980c51375f74f25346274e2e52eb8a23aaf0b57 /lib/libc/string/strncmp.c
parent9e96ba9843efa92ef2d9357032915801b8fe6e93 (diff)
repair libkern support (again) and add rcsids
Diffstat (limited to 'lib/libc/string/strncmp.c')
-rw-r--r--lib/libc/string/strncmp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/string/strncmp.c b/lib/libc/string/strncmp.c
index 82420e215e1..ddab42dc759 100644
--- a/lib/libc/string/strncmp.c
+++ b/lib/libc/string/strncmp.c
@@ -1,3 +1,5 @@
+/* $OpenBSD: strncmp.c,v 1.6 2004/11/28 07:16:54 mickey Exp $ */
+
/*
* Copyright (c) 1989 The Regents of the University of California.
* All rights reserved.
@@ -28,10 +30,10 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: strncmp.c,v 1.5 2003/06/11 21:08:16 deraadt Exp $";
+static char *rcsid = "$OpenBSD: strncmp.c,v 1.6 2004/11/28 07:16:54 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
-#ifndef _KERNEL
+#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <string.h>
#else
#include <lib/libkern/libkern.h>