summaryrefslogtreecommitdiffstats
path: root/src/egl/main/egldriver.h
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-02-28 16:35:22 +0000
committerEmil Velikov <[email protected]>2015-03-05 14:45:53 +0000
commit7bd1693877e4de9aaf8f6776649fc48db54ec82b (patch)
treeb4752b18050a4287888e66c3f63e2d5fe7cd0b56 /src/egl/main/egldriver.h
parent9385c592c68e7304cd9084fe17f27ec17319cdcf (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/egldriver.h')
-rw-r--r--src/egl/main/egldriver.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/egl/main/egldriver.h b/src/egl/main/egldriver.h
index e34f19f9a20..ccb70ace4f9 100644
--- a/src/egl/main/egldriver.h
+++ b/src/egl/main/egldriver.h
@@ -32,6 +32,8 @@
#define EGLDRIVER_INCLUDED
+#include "c99_compat.h"
+
#include "egltypedefs.h"
#include "eglapi.h"
#include <stddef.h>
@@ -43,7 +45,7 @@
* semicolon when used.
*/
#define _EGL_DRIVER_TYPECAST(drvtype, egltype, code) \
- static INLINE struct drvtype *drvtype(const egltype *obj) \
+ static inline struct drvtype *drvtype(const egltype *obj) \
{ return (struct drvtype *) code; }