summaryrefslogtreecommitdiff
path: root/sys/lib/libkern
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2021-05-16 04:51:01 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2021-05-16 04:51:01 +0000
commit4083e4e9866b649ecd825800a06985bca1934750 (patch)
tree8e71672d5816d7929739d23b5754a1696d350132 /sys/lib/libkern
parentb92895bc607c201c923bbb899dd284a987ba7c21 (diff)
ansi
Diffstat (limited to 'sys/lib/libkern')
-rw-r--r--sys/lib/libkern/bcmp.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/lib/libkern/bcmp.c b/sys/lib/libkern/bcmp.c
index 453f046a231..6e7585eb05a 100644
--- a/sys/lib/libkern/bcmp.c
+++ b/sys/lib/libkern/bcmp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bcmp.c,v 1.12 2021/05/16 04:45:58 jsg Exp $ */
+/* $OpenBSD: bcmp.c,v 1.13 2021/05/16 04:51:00 jsg Exp $ */
/*
* Copyright (c) 1987 Regents of the University of California.
@@ -37,9 +37,7 @@
* bcmp -- vax cmpc3 instruction
*/
int
-bcmp(b1, b2, length)
- const void *b1, *b2;
- size_t length;
+bcmp(const void *b1, const void *b2, size_t length)
{
char *p1, *p2;