From 1ad5a1a2460dcfe2dd36e19e8699aa58c4a46025 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 28 Nov 2011 18:13:44 -0700 Subject: [PATCH] tnl: s/INLINE/inline/ --- src/mesa/tnl/t_context.h | 2 +- src/mesa/tnl/t_vb_cliptmp.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mesa/tnl/t_context.h b/src/mesa/tnl/t_context.h index b3fce81b459..a7e8c7c047d 100644 --- a/src/mesa/tnl/t_context.h +++ b/src/mesa/tnl/t_context.h @@ -173,7 +173,7 @@ enum { #define PRIM_END 0x20 #define PRIM_MODE_MASK 0x0f -static INLINE GLuint _tnl_translate_prim( const struct _mesa_prim *prim ) +static inline GLuint _tnl_translate_prim( const struct _mesa_prim *prim ) { GLuint flag; flag = prim->mode; diff --git a/src/mesa/tnl/t_vb_cliptmp.h b/src/mesa/tnl/t_vb_cliptmp.h index d593193435c..0b45bc5342e 100644 --- a/src/mesa/tnl/t_vb_cliptmp.h +++ b/src/mesa/tnl/t_vb_cliptmp.h @@ -114,7 +114,7 @@ do { \ /* Clip a line against the viewport and user clip planes. */ -static INLINE void +static inline void TAG(clip_line)( struct gl_context *ctx, GLuint v0, GLuint v1, GLubyte mask ) { TNLcontext *tnl = TNL_CONTEXT(ctx); @@ -183,7 +183,7 @@ TAG(clip_line)( struct gl_context *ctx, GLuint v0, GLuint v1, GLubyte mask ) /* Clip a triangle against the viewport and user clip planes. */ -static INLINE void +static inline void TAG(clip_tri)( struct gl_context *ctx, GLuint v0, GLuint v1, GLuint v2, GLubyte mask ) { TNLcontext *tnl = TNL_CONTEXT(ctx); @@ -262,7 +262,7 @@ TAG(clip_tri)( struct gl_context *ctx, GLuint v0, GLuint v1, GLuint v2, GLubyte /* Clip a quad against the viewport and user clip planes. */ -static INLINE void +static inline void TAG(clip_quad)( struct gl_context *ctx, GLuint v0, GLuint v1, GLuint v2, GLuint v3, GLubyte mask ) { -- 2.30.2