summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglarray.h
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2015-02-28 16:35:22 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2015-03-05 14:45:53 +0000
commit7bd1693877e4de9aaf8f6776649fc48db54ec82b (patch)
treeb4752b18050a4287888e66c3f63e2d5fe7cd0b56 /src/egl/main/eglarray.h
parent9385c592c68e7304cd9084fe17f27ec17319cdcf (diff)
downloadexternal_mesa3d-7bd1693877e4de9aaf8f6776649fc48db54ec82b.zip
external_mesa3d-7bd1693877e4de9aaf8f6776649fc48db54ec82b.tar.gz
external_mesa3d-7bd1693877e4de9aaf8f6776649fc48db54ec82b.tar.bz2
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 <emil.l.velikov@gmail.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/egl/main/eglarray.h')
-rw-r--r--src/egl/main/eglarray.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/egl/main/eglarray.h b/src/egl/main/eglarray.h
index d07f301..bde5ba5 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;