diff options
author | Emil Velikov <[email protected]> | 2015-02-28 16:35:22 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-03-05 14:45:53 +0000 |
commit | 7bd1693877e4de9aaf8f6776649fc48db54ec82b (patch) | |
tree | b4752b18050a4287888e66c3f63e2d5fe7cd0b56 /src/egl/main/eglconfig.c | |
parent | 9385c592c68e7304cd9084fe17f27ec17319cdcf (diff) |
egl/main: replace INLINE with inline
Drop the custom keyword in favour of the C99 one. All the places using
it now directly include c99_compat.h which should handle things on
platforms which lack it.
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/egl/main/eglconfig.c')
-rw-r--r-- | src/egl/main/eglconfig.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/egl/main/eglconfig.c b/src/egl/main/eglconfig.c index 1ac716c86e7..50fcbb09042 100644 --- a/src/egl/main/eglconfig.c +++ b/src/egl/main/eglconfig.c @@ -36,6 +36,8 @@ #include <stdlib.h> #include <string.h> #include <assert.h> +#include "c99_compat.h" + #include "eglconfig.h" #include "egldisplay.h" #include "eglcurrent.h" @@ -481,7 +483,7 @@ _eglMatchConfig(const _EGLConfig *conf, const _EGLConfig *criteria) return matched; } -static INLINE EGLBoolean +static inline EGLBoolean _eglIsConfigAttribValid(_EGLConfig *conf, EGLint attr) { if (_eglOffsetOfConfig(attr) < 0) @@ -651,7 +653,7 @@ _eglCompareConfigs(const _EGLConfig *conf1, const _EGLConfig *conf2, } -static INLINE +static inline void _eglSwapConfigs(const _EGLConfig **conf1, const _EGLConfig **conf2) { const _EGLConfig *tmp = *conf1; |