summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern/bcmp.c
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>1996-04-19 16:08:13 +0000
committerniklas <niklas@openbsd.org>1996-04-19 16:08:13 +0000
commit0c0430f8be50281c74d9dc83e99431ec6557954b (patch)
treeafa225701d5d148fcc2f938d8b48ae7e0389ceef /sys/lib/libkern/bcmp.c
parentFix a bit, so it's now compiles. (diff)
downloadwireguard-openbsd-0c0430f8be50281c74d9dc83e99431ec6557954b.tar.xz
wireguard-openbsd-0c0430f8be50281c74d9dc83e99431ec6557954b.zip
NetBSD 960317 merge
Diffstat (limited to 'sys/lib/libkern/bcmp.c')
-rw-r--r--sys/lib/libkern/bcmp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/lib/libkern/bcmp.c b/sys/lib/libkern/bcmp.c
index b5b12e2c636..feaa9655521 100644
--- a/sys/lib/libkern/bcmp.c
+++ b/sys/lib/libkern/bcmp.c
@@ -1,3 +1,5 @@
+/* $OpenBSD: bcmp.c,v 1.2 1996/04/19 16:09:19 niklas Exp $ */
+
/*
* Copyright (c) 1987 Regents of the University of California.
* All rights reserved.
@@ -33,14 +35,16 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)bcmp.c 5.6 (Berkeley) 2/24/91";*/
-static char *rcsid = "$Id: bcmp.c,v 1.1.1.1 1995/10/18 08:52:49 deraadt Exp $";
+static char *rcsid = "$OpenBSD: bcmp.c,v 1.2 1996/04/19 16:09:19 niklas Exp $";
#endif /* LIBC_SCCS and not lint */
#include <string.h>
+#include <lib/libkern/libkern.h>
/*
* bcmp -- vax cmpc3 instruction
*/
+int
bcmp(b1, b2, length)
const void *b1, *b2;
register size_t length;