summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2007-02-03 07:49:20 +0000
committerbms <bms@FreeBSD.org>2007-02-03 07:49:20 +0000
commitee59ac20b624d797edd0d6ca304cf1b4f7277c09 (patch)
treee073ee4230856a28878749b718f374a11c53a70b /sys
parented33e9dab87e2d32792e0ad28b2d0885acb869c9 (diff)
downloadFreeBSD-src-ee59ac20b624d797edd0d6ca304cf1b4f7277c09.zip
FreeBSD-src-ee59ac20b624d797edd0d6ca304cf1b4f7277c09.tar.gz
Style; remove argument names from prototype, be consistent with
rest of file. This has the additional side-effect of removing a C++ reserved keyword from this file, which prevents the Click Modular Router's FreeBSD kernel support from building. Reviewed by: silence on -current
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/lock.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/lock.h b/sys/sys/lock.h
index 29cdc76..1b80bc8 100644
--- a/sys/sys/lock.h
+++ b/sys/sys/lock.h
@@ -217,9 +217,9 @@ extern struct lock_class lock_class_lockmgr;
extern struct lock_class *lock_classes[];
-void lock_init(struct lock_object *lock, struct lock_class *class,
- const char *name, const char *type, int flags);
-void lock_destroy(struct lock_object *lock);
+void lock_init(struct lock_object *, struct lock_class *,
+ const char *, const char *, int);
+void lock_destroy(struct lock_object *);
void spinlock_enter(void);
void spinlock_exit(void);
void witness_init(struct lock_object *);
OpenPOWER on IntegriCloud