From ee59ac20b624d797edd0d6ca304cf1b4f7277c09 Mon Sep 17 00:00:00 2001 From: bms Date: Sat, 3 Feb 2007 07:49:20 +0000 Subject: 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 --- sys/sys/lock.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys') 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 *); -- cgit v1.1