Mesa (master): xlib: s/INLINE/inline/
Brian Paul
brianp at kemper.freedesktop.org
Thu Sep 4 18:38:49 UTC 2014
Module: Mesa
Branch: master
Commit: 27727b847989ee678267eae39b74f7698cfac624
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=27727b847989ee678267eae39b74f7698cfac624
Author: Brian Paul <brianp at vmware.com>
Date: Thu Sep 4 09:20:50 2014 -0600
xlib: s/INLINE/inline/
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
---
src/mesa/drivers/x11/xmesaP.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/mesa/drivers/x11/xmesaP.h b/src/mesa/drivers/x11/xmesaP.h
index b47934d..d7a934e 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;
More information about the mesa-commit
mailing list