summaryrefslogtreecommitdiffstats
path: root/Alc/uintmap.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-11-04 12:12:31 -0800
committerChris Robinson <[email protected]>2013-11-04 12:12:31 -0800
commit551f893ae910c2b1b72c0a22aeab1ede75d3e5ed (patch)
tree1f41eaee75fdfd0d9cc1e0bfff8bce3bd7039aba /Alc/uintmap.h
parent692ab1085dd75c0ac696f3effe61bc9223181547 (diff)
Use C99 inline semantics
Diffstat (limited to 'Alc/uintmap.h')
-rw-r--r--Alc/uintmap.h8
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 */