aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2014-09-04 09:20:50 -0600
committerBrian Paul <[email protected]>2014-09-04 12:17:44 -0600
commit27727b847989ee678267eae39b74f7698cfac624 (patch)
treea91232d5656836c63b7da7b5aeade1216e830774 /src/mesa
parentc4a0be73ea948513cb83202829c35151b8adf8b9 (diff)
xlib: s/INLINE/inline/
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/x11/xmesaP.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/x11/xmesaP.h b/src/mesa/drivers/x11/xmesaP.h
index b47934db877..d7a934e8df4 100644
--- a/src/mesa/drivers/x11/xmesaP.h
+++ b/src/mesa/drivers/x11/xmesaP.h
@@ -375,7 +375,7 @@ xmesa_destroy_buffers_on_display(XMesaDisplay *dpy);
/**
* Using a function instead of an ordinary cast is safer.
*/
-static INLINE struct xmesa_renderbuffer *
+static inline struct xmesa_renderbuffer *
xmesa_renderbuffer(struct gl_renderbuffer *rb)
{
return (struct xmesa_renderbuffer *) rb;
@@ -386,7 +386,7 @@ xmesa_renderbuffer(struct gl_renderbuffer *rb)
* Return pointer to XMesaContext corresponding to a Mesa struct gl_context.
* Since we're using structure containment, it's just a cast!.
*/
-static INLINE XMesaContext
+static inline XMesaContext
XMESA_CONTEXT(struct gl_context *ctx)
{
return (XMesaContext) ctx;
@@ -397,7 +397,7 @@ XMESA_CONTEXT(struct gl_context *ctx)
* Return pointer to XMesaBuffer corresponding to a Mesa struct gl_framebuffer.
* Since we're using structure containment, it's just a cast!.
*/
-static INLINE XMesaBuffer
+static inline XMesaBuffer
XMESA_BUFFER(struct gl_framebuffer *b)
{
return (XMesaBuffer) b;