diff options
author | bms <bms@FreeBSD.org> | 2007-02-03 07:49:20 +0000 |
---|---|---|
committer | bms <bms@FreeBSD.org> | 2007-02-03 07:49:20 +0000 |
commit | ee59ac20b624d797edd0d6ca304cf1b4f7277c09 (patch) | |
tree | e073ee4230856a28878749b718f374a11c53a70b /sys | |
parent | ed33e9dab87e2d32792e0ad28b2d0885acb869c9 (diff) | |
download | FreeBSD-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.h | 6 |
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 *); |