Add a missing inline keyword.

This commit is contained in:
davidxu 2003-02-08 06:33:37 +00:00
parent a7320c3c85
commit 42e55aa875

View File

@ -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);
}