aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/lock.h
diff options
context:
space:
mode:
authorBruce M Simpson <bms@FreeBSD.org>2007-02-03 07:49:20 +0000
committerBruce M Simpson <bms@FreeBSD.org>2007-02-03 07:49:20 +0000
commit4729603e9a459da76f1ed9dc6fe4af9bf5f07971 (patch)
treee073ee4230856a28878749b718f374a11c53a70b /sys/sys/lock.h
parent1f35d9bfbd239cc78fe13cf58138f62fd7a66182 (diff)
downloadsrc-4729603e9a459da76f1ed9dc6fe4af9bf5f07971.tar.gz
src-4729603e9a459da76f1ed9dc6fe4af9bf5f07971.zip
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
Notes
Notes: svn path=/head/; revision=166455
Diffstat (limited to 'sys/sys/lock.h')
-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 29cdc76bbc05..1b80bc8ec36f 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 *);