summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglscreen.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/eglscreen.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/eglscreen.h')
-rw-r--r--src/egl/main/eglscreen.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/egl/main/eglscreen.h b/src/egl/main/eglscreen.h
index 1cede449a04..542f2de886f 100644
--- a/src/egl/main/eglscreen.h
+++ b/src/egl/main/eglscreen.h
@@ -31,6 +31,7 @@
#ifndef EGLSCREEN_INCLUDED
#define EGLSCREEN_INCLUDED
+#include "c99_compat.h"
#include "egltypedefs.h"
@@ -82,7 +83,7 @@ _eglLookupScreen(EGLScreenMESA screen, _EGLDisplay *dpy);
/**
* Return the handle of a linked screen.
*/
-static INLINE EGLScreenMESA
+static inline EGLScreenMESA
_eglGetScreenHandle(_EGLScreen *screen)
{
return (screen) ? screen->Handle : (EGLScreenMESA) 0;