From: Brian Paul Date: Thu, 4 Sep 2014 15:20:50 +0000 (-0600) Subject: xlib: s/INLINE/inline/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=27727b847989ee678267eae39b74f7698cfac624;p=mesa.git xlib: s/INLINE/inline/ Reviewed-by: Kenneth Graunke --- 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;