summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/bcmp.c
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>1996-03-09 02:42:53 +0000
committerniklas <niklas@openbsd.org>1996-03-09 02:42:53 +0000
commita3320e1fbb9e87b89748f7eb5878def50449370a (patch)
tree1d3d91bee23b2c2cae6b1b5ac698e503bb851bdb /lib/libc/string/bcmp.c
parentRudimentary support for compilation in a cross environment (diff)
downloadwireguard-openbsd-a3320e1fbb9e87b89748f7eb5878def50449370a.tar.xz
wireguard-openbsd-a3320e1fbb9e87b89748f7eb5878def50449370a.zip
From NetBSD: 960217 merge
Diffstat (limited to 'lib/libc/string/bcmp.c')
-rw-r--r--lib/libc/string/bcmp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/string/bcmp.c b/lib/libc/string/bcmp.c
index 2cc38baee36..edd83c2686d 100644
--- a/lib/libc/string/bcmp.c
+++ b/lib/libc/string/bcmp.c
@@ -1,3 +1,5 @@
+/* $OpenBSD: bcmp.c,v 1.2 1996/03/09 02:42:54 niklas Exp $ */
+
/*
* Copyright (c) 1987 Regents of the University of California.
* All rights reserved.
@@ -33,7 +35,7 @@
#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:42:20 deraadt Exp $";
+static char *rcsid = "$Id: bcmp.c,v 1.2 1996/03/09 02:42:54 niklas Exp $";
#endif /* LIBC_SCCS and not lint */
#include <string.h>
@@ -41,6 +43,7 @@ static char *rcsid = "$Id: bcmp.c,v 1.1.1.1 1995/10/18 08:42:20 deraadt Exp $";
/*
* bcmp -- vax cmpc3 instruction
*/
+int
bcmp(b1, b2, length)
const void *b1, *b2;
register size_t length;