Add a missing inline keyword.

This commit is contained in:
davidxu 2003-02-08 06:33:37 +00:00
parent 420024d3cb
commit daa1162166

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