From 551f893ae910c2b1b72c0a22aeab1ede75d3e5ed Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 4 Nov 2013 12:12:31 -0800 Subject: Use C99 inline semantics --- Alc/uintmap.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Alc/uintmap.h') 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 */ -- cgit v1.2.3