r200: replace INLINE with inline

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Brian Paul 2015-02-26 09:48:34 -07:00
parent 8e9fe53ce9
commit bbedb85898
3 changed files with 4 additions and 4 deletions

View file

@ -102,7 +102,7 @@ do { \
memcpy( rmesa->hw.ATOM.lastcmd, rmesa->hw.ATOM.cmd, \
rmesa->hw.ATOM.cmd_size * 4)
static INLINE int R200_DB_STATECHANGE(
static inline int R200_DB_STATECHANGE(
r200ContextPtr rmesa,
struct radeon_state_atom *atom )
{

View file

@ -318,7 +318,7 @@ void r200_swtcl_flush(struct gl_context *ctx, uint32_t current_offset)
/**************************************************************************/
static INLINE GLuint reduced_hw_prim( struct gl_context *ctx, GLuint prim)
static inline GLuint reduced_hw_prim( struct gl_context *ctx, GLuint prim)
{
switch (prim) {
case GL_POINTS:

View file

@ -152,7 +152,7 @@ static GLboolean r200VertexProgUpdateParams(struct gl_context *ctx, struct r200_
return GL_TRUE;
}
static INLINE unsigned long t_dst_mask(GLuint mask)
static inline unsigned long t_dst_mask(GLuint mask)
{
/* WRITEMASK_* is equivalent to VSF_FLAG_* */
return mask & VSF_FLAG_ALL;
@ -223,7 +223,7 @@ static unsigned long t_src_class(gl_register_file file)
}
}
static INLINE unsigned long t_swizzle(GLubyte swizzle)
static inline unsigned long t_swizzle(GLubyte swizzle)
{
/* this is in fact a NOP as the Mesa SWIZZLE_* are all identical to VSF_IN_COMPONENT_* */
return swizzle;