diff options
Diffstat (limited to 'src/egl/main/eglmutex.h')
-rw-r--r-- | src/egl/main/eglmutex.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/egl/main/eglmutex.h b/src/egl/main/eglmutex.h index 2ec965c1249..b58f0e3faef 100644 --- a/src/egl/main/eglmutex.h +++ b/src/egl/main/eglmutex.h @@ -29,30 +29,32 @@ #ifndef EGLMUTEX_INCLUDED #define EGLMUTEX_INCLUDED +#include "c99_compat.h" + #include "eglcompiler.h" #include "c11/threads.h" typedef mtx_t _EGLMutex; -static INLINE void _eglInitMutex(_EGLMutex *m) +static inline void _eglInitMutex(_EGLMutex *m) { mtx_init(m, mtx_plain); } -static INLINE void +static inline void _eglDestroyMutex(_EGLMutex *m) { mtx_destroy(m); } -static INLINE void +static inline void _eglLockMutex(_EGLMutex *m) { mtx_lock(m); } -static INLINE void +static inline void _eglUnlockMutex(_EGLMutex *m) { mtx_unlock(m); |