diff options
author | Chris Robinson <[email protected]> | 2013-11-04 12:12:31 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-11-04 12:12:31 -0800 |
commit | 551f893ae910c2b1b72c0a22aeab1ede75d3e5ed (patch) | |
tree | 1f41eaee75fdfd0d9cc1e0bfff8bce3bd7039aba /Alc/uintmap.h | |
parent | 692ab1085dd75c0ac696f3effe61bc9223181547 (diff) |
Use C99 inline semantics
Diffstat (limited to 'Alc/uintmap.h')
-rw-r--r-- | Alc/uintmap.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/uintmap.h b/Alc/uintmap.h index d692e878..2c70f161 100644 --- a/Alc/uintmap.h +++ b/Alc/uintmap.h @@ -22,13 +22,13 @@ ALenum InsertUIntMapEntry(UIntMap *map, ALuint key, ALvoid *value); ALvoid *RemoveUIntMapKey(UIntMap *map, ALuint key); ALvoid *LookupUIntMapKey(UIntMap *map, ALuint key); -static inline void LockUIntMapRead(UIntMap *map) +inline void LockUIntMapRead(UIntMap *map) { ReadLock(&map->lock); } -static inline void UnlockUIntMapRead(UIntMap *map) +inline void UnlockUIntMapRead(UIntMap *map) { ReadUnlock(&map->lock); } -static inline void LockUIntMapWrite(UIntMap *map) +inline void LockUIntMapWrite(UIntMap *map) { WriteLock(&map->lock); } -static inline void UnlockUIntMapWrite(UIntMap *map) +inline void UnlockUIntMapWrite(UIntMap *map) { WriteUnlock(&map->lock); } #endif /* AL_UINTMAP_H */ |