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/eglarray.h | |
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/eglarray.h')
-rw-r--r-- | src/egl/main/eglarray.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/egl/main/eglarray.h b/src/egl/main/eglarray.h index d07f301f242..bde5ba50f80 100644 --- a/src/egl/main/eglarray.h +++ b/src/egl/main/eglarray.h @@ -29,6 +29,7 @@ #ifndef EGLARRAY_INCLUDED #define EGLARRAY_INCLUDED +#include "c99_compat.h" #include "egltypedefs.h" @@ -75,7 +76,7 @@ _eglFlattenArray(_EGLArray *array, void *buffer, EGLint elem_size, EGLint size, _EGLArrayForEach flatten); -static INLINE EGLint +static inline EGLint _eglGetArraySize(_EGLArray *array) { return (array) ? array->Size : 0; |