summaryrefslogtreecommitdiff
path: root/sys/lib/libkern
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1998-06-27 01:21:11 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1998-06-27 01:21:11 +0000
commitc459f242ef56a9df83eb457f12ee7b43110f431a (patch)
tree3cb4a3dc539c34a5727a4e77f67b06db2ed3e16d /sys/lib/libkern
parent3e9ffedad61d19a1eeda0dfce35be47845312a05 (diff)
there is no string.h in stand land
Diffstat (limited to 'sys/lib/libkern')
-rw-r--r--sys/lib/libkern/memchr.c4
-rw-r--r--sys/lib/libkern/strcat.c6
-rw-r--r--sys/lib/libkern/strcmp.c6
-rw-r--r--sys/lib/libkern/strcpy.c6
-rw-r--r--sys/lib/libkern/strlen.c6
-rw-r--r--sys/lib/libkern/strncasecmp.c6
-rw-r--r--sys/lib/libkern/strncmp.c6
7 files changed, 20 insertions, 20 deletions
diff --git a/sys/lib/libkern/memchr.c b/sys/lib/libkern/memchr.c
index e5553d96693..6224cd97ded 100644
--- a/sys/lib/libkern/memchr.c
+++ b/sys/lib/libkern/memchr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: memchr.c,v 1.1 1997/11/04 19:07:58 chuck Exp $ */
+/* $OpenBSD: memchr.c,v 1.2 1998/06/27 01:21:03 mickey Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -41,7 +41,7 @@
static char *rcsid = "$NetBSD: memchr.c,v 1.2 1997/10/24 18:10:30 mjacob Exp $";
#endif /* LIBC_SCCS and not lint */
-#ifndef _KERNEL
+#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <string.h>
#else
#include <lib/libkern/libkern.h>
diff --git a/sys/lib/libkern/strcat.c b/sys/lib/libkern/strcat.c
index a63f2209bf2..a493de8935a 100644
--- a/sys/lib/libkern/strcat.c
+++ b/sys/lib/libkern/strcat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: strcat.c,v 1.3 1996/05/01 15:18:49 deraadt Exp $ */
+/* $OpenBSD: strcat.c,v 1.4 1998/06/27 01:21:04 mickey Exp $ */
/*
* Copyright (c) 1988 Regents of the University of California.
@@ -35,10 +35,10 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)strcat.c 5.6 (Berkeley) 2/24/91";*/
-static char *rcsid = "$OpenBSD: strcat.c,v 1.3 1996/05/01 15:18:49 deraadt Exp $";
+static char *rcsid = "$OpenBSD: strcat.c,v 1.4 1998/06/27 01:21:04 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
-#ifndef _KERNEL
+#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <string.h>
#else
#include <lib/libkern/libkern.h>
diff --git a/sys/lib/libkern/strcmp.c b/sys/lib/libkern/strcmp.c
index a2578c25f69..48ed56b162f 100644
--- a/sys/lib/libkern/strcmp.c
+++ b/sys/lib/libkern/strcmp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: strcmp.c,v 1.5 1997/11/07 15:56:49 niklas Exp $ */
+/* $OpenBSD: strcmp.c,v 1.6 1998/06/27 01:21:05 mickey Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -38,11 +38,11 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)strcmp.c 5.5 (Berkeley) 1/26/91";*/
-static char *rcsid = "$OpenBSD: strcmp.c,v 1.5 1997/11/07 15:56:49 niklas Exp $";
+static char *rcsid = "$OpenBSD: strcmp.c,v 1.6 1998/06/27 01:21:05 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
-#ifndef _KERNEL
+#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <string.h>
#else
#include <lib/libkern/libkern.h>
diff --git a/sys/lib/libkern/strcpy.c b/sys/lib/libkern/strcpy.c
index cfeff18e2b2..7febef7de96 100644
--- a/sys/lib/libkern/strcpy.c
+++ b/sys/lib/libkern/strcpy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: strcpy.c,v 1.3 1996/05/01 15:18:50 deraadt Exp $ */
+/* $OpenBSD: strcpy.c,v 1.4 1998/06/27 01:21:07 mickey Exp $ */
/*
* Copyright (c) 1988 Regents of the University of California.
@@ -35,10 +35,10 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)strcpy.c 5.7 (Berkeley) 2/24/91";*/
-static char *rcsid = "$OpenBSD: strcpy.c,v 1.3 1996/05/01 15:18:50 deraadt Exp $";
+static char *rcsid = "$OpenBSD: strcpy.c,v 1.4 1998/06/27 01:21:07 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
-#ifndef _KERNEL
+#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <string.h>
#else
#include <lib/libkern/libkern.h>
diff --git a/sys/lib/libkern/strlen.c b/sys/lib/libkern/strlen.c
index ccb15976a2e..cd0df7747f6 100644
--- a/sys/lib/libkern/strlen.c
+++ b/sys/lib/libkern/strlen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: strlen.c,v 1.3 1997/11/07 15:56:49 niklas Exp $ */
+/* $OpenBSD: strlen.c,v 1.4 1998/06/27 01:21:08 mickey Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -35,10 +35,10 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)strlen.c 5.5 (Berkeley) 1/26/91";*/
-static char *rcsid = "$OpenBSD: strlen.c,v 1.3 1997/11/07 15:56:49 niklas Exp $";
+static char *rcsid = "$OpenBSD: strlen.c,v 1.4 1998/06/27 01:21:08 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
-#ifndef _KERNEL
+#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <string.h>
#else
#include <lib/libkern/libkern.h>
diff --git a/sys/lib/libkern/strncasecmp.c b/sys/lib/libkern/strncasecmp.c
index 5249050ddd8..a67f8fc54b1 100644
--- a/sys/lib/libkern/strncasecmp.c
+++ b/sys/lib/libkern/strncasecmp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: strncasecmp.c,v 1.2 1996/05/01 15:18:52 deraadt Exp $ */
+/* $OpenBSD: strncasecmp.c,v 1.3 1998/06/27 01:21:09 mickey Exp $ */
/*
* Copyright (c) 1994 Christian E. Hopps
@@ -30,10 +30,10 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$Id: strncasecmp.c,v 1.2 1996/05/01 15:18:52 deraadt Exp $";
+static char *rcsid = "$Id: strncasecmp.c,v 1.3 1998/06/27 01:21:09 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
-#ifndef _KERNEL
+#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <string.h>
#else
#include <lib/libkern/libkern.h>
diff --git a/sys/lib/libkern/strncmp.c b/sys/lib/libkern/strncmp.c
index 6160b8cd7fc..bdfeb0220a0 100644
--- a/sys/lib/libkern/strncmp.c
+++ b/sys/lib/libkern/strncmp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: strncmp.c,v 1.5 1997/11/07 15:56:50 niklas Exp $ */
+/* $OpenBSD: strncmp.c,v 1.6 1998/06/27 01:21:10 mickey Exp $ */
/*
* Copyright (c) 1989 The Regents of the University of California.
@@ -35,11 +35,11 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)strncmp.c 5.6 (Berkeley) 1/26/91";*/
-static char *rcsid = "$OpenBSD: strncmp.c,v 1.5 1997/11/07 15:56:50 niklas Exp $";
+static char *rcsid = "$OpenBSD: strncmp.c,v 1.6 1998/06/27 01:21:10 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
-#ifndef _KERNEL
+#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <string.h>
#else
#include <lib/libkern/libkern.h>