diff options
author | davidxu <davidxu@FreeBSD.org> | 2003-02-08 06:33:37 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2003-02-08 06:33:37 +0000 |
commit | 42e55aa875b73204e03f4b909683d12dbd331231 (patch) | |
tree | 3abd40d62dd9cc08e7162c26becde06acbc78d6e /tools/KSE | |
parent | a7320c3c85960f444d5e0c8a21b799570c48bba0 (diff) | |
download | FreeBSD-src-42e55aa875b73204e03f4b909683d12dbd331231.zip FreeBSD-src-42e55aa875b73204e03f4b909683d12dbd331231.tar.gz |
Add a missing inline keyword.
Diffstat (limited to 'tools/KSE')
-rw-r--r-- | tools/KSE/ksetest/simplelock.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/KSE/ksetest/simplelock.h b/tools/KSE/ksetest/simplelock.h index 8582aa8..2dae6ab 100644 --- a/tools/KSE/ksetest/simplelock.h +++ b/tools/KSE/ksetest/simplelock.h @@ -49,7 +49,8 @@ simplelock_lock(struct simplelock *lock) ; } -static void simplelock_unlock(struct simplelock *lock) +static inline void +simplelock_unlock(struct simplelock *lock) { atomic_store_rel_int(&lock->s_lock, 0); } |