summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/bcmp.c
diff options
context:
space:
mode:
authorderaadt <>1996-05-01 12:57:54 +0000
committerderaadt <>1996-05-01 12:57:54 +0000
commit2686d34ae2184cc85034a4afb5eacf55b9732934 (patch)
tree70f1f93a5298feae7003283e3209b83aec055f19 /src/lib/libc/string/bcmp.c
parent1bff96637c43ff8d699b4b2095e0b6ad787e7e76 (diff)
downloadopenbsd-2686d34ae2184cc85034a4afb5eacf55b9732934.tar.gz
openbsd-2686d34ae2184cc85034a4afb5eacf55b9732934.tar.bz2
openbsd-2686d34ae2184cc85034a4afb5eacf55b9732934.zip
switch on _KERNEL to load proper include file
Diffstat (limited to 'src/lib/libc/string/bcmp.c')
-rw-r--r--src/lib/libc/string/bcmp.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/libc/string/bcmp.c b/src/lib/libc/string/bcmp.c
index edd83c2686..782aa1a30b 100644
--- a/src/lib/libc/string/bcmp.c
+++ b/src/lib/libc/string/bcmp.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bcmp.c,v 1.2 1996/03/09 02:42:54 niklas Exp $ */ 1/* $OpenBSD: bcmp.c,v 1.3 1996/05/01 12:57:37 deraadt Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1987 Regents of the University of California. 4 * Copyright (c) 1987 Regents of the University of California.
@@ -35,10 +35,14 @@
35 35
36#if defined(LIBC_SCCS) && !defined(lint) 36#if defined(LIBC_SCCS) && !defined(lint)
37/*static char *sccsid = "from: @(#)bcmp.c 5.6 (Berkeley) 2/24/91";*/ 37/*static char *sccsid = "from: @(#)bcmp.c 5.6 (Berkeley) 2/24/91";*/
38static char *rcsid = "$Id: bcmp.c,v 1.2 1996/03/09 02:42:54 niklas Exp $"; 38static char *rcsid = "$Id: bcmp.c,v 1.3 1996/05/01 12:57:37 deraadt Exp $";
39#endif /* LIBC_SCCS and not lint */ 39#endif /* LIBC_SCCS and not lint */
40 40
41#ifndef _KERNEL
41#include <string.h> 42#include <string.h>
43#else
44#include <lib/libkern/libkern.h>
45#endif
42 46
43/* 47/*
44 * bcmp -- vax cmpc3 instruction 48 * bcmp -- vax cmpc3 instruction