summaryrefslogtreecommitdiff
path: root/sys/kern/kern_lock.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-12-04 21:56:19 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-12-04 21:56:19 +0000
commit596a68b35ac746648a6b438bc6d0ef01b732f99a (patch)
tree724d7a69b5c6e8e0fa24228c1643a721cce583e8 /sys/kern/kern_lock.c
parent5a40e3b51df6c59411c6c16062a6f5736ad48d83 (diff)
Add declaration of "state" to _simple_lock_assert(). Since it is
an int this can safely be omitted but it is bad style to do so. Closes PR 2223.
Diffstat (limited to 'sys/kern/kern_lock.c')
-rw-r--r--sys/kern/kern_lock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/kern_lock.c b/sys/kern/kern_lock.c
index 1da1663f8d0..9e8a47d59ba 100644
--- a/sys/kern/kern_lock.c
+++ b/sys/kern/kern_lock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_lock.c,v 1.10 2001/11/07 02:44:10 art Exp $ */
+/* $OpenBSD: kern_lock.c,v 1.11 2001/12/04 21:56:18 millert Exp $ */
/*
* Copyright (c) 1995
@@ -526,6 +526,7 @@ _simple_unlock(lkp, id, l)
void
_simple_lock_assert(lkp, state, id, l)
__volatile struct simplelock *lkp;
+ int state;
const char *id;
int l;
{