radeon: replace INLINE with inline

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

View File

@ -98,7 +98,7 @@ void rcommonBeginBatch(radeonContextPtr rmesa,
/* Fire the buffered vertices no matter what.
*/
static INLINE void radeon_firevertices(radeonContextPtr radeon)
static inline void radeon_firevertices(radeonContextPtr radeon)
{
if (radeon->cmdbuf.cs->cdw || radeon->dma.flush )
radeon->glCtx.Driver.Flush(&radeon->glCtx); /* +r6/r7 */

View File

@ -486,7 +486,7 @@ out:
return dwords;
}
static INLINE void radeon_emit_atom(radeonContextPtr radeon, struct radeon_state_atom *atom)
static inline void radeon_emit_atom(radeonContextPtr radeon, struct radeon_state_atom *atom)
{
BATCH_LOCALS(radeon);
int dwords;
@ -511,7 +511,7 @@ static INLINE void radeon_emit_atom(radeonContextPtr radeon, struct radeon_state
}
static INLINE void radeonEmitAtoms(radeonContextPtr radeon, GLboolean emitAll)
static inline void radeonEmitAtoms(radeonContextPtr radeon, GLboolean emitAll)
{
struct radeon_state_atom *atom;

View File

@ -171,7 +171,7 @@ struct _radeon_texture_image {
};
static INLINE radeon_texture_image *get_radeon_texture_image(struct gl_texture_image *image)
static inline radeon_texture_image *get_radeon_texture_image(struct gl_texture_image *image)
{
return (radeon_texture_image*)image;
}
@ -213,7 +213,7 @@ struct radeon_tex_obj {
GLboolean border_fallback;
};
static INLINE radeonTexObj* radeon_tex_obj(struct gl_texture_object *texObj)
static inline radeonTexObj* radeon_tex_obj(struct gl_texture_object *texObj)
{
return (radeonTexObj*)texObj;
}
@ -316,7 +316,7 @@ struct radeon_prim {
GLuint prim;
};
static INLINE GLuint radeonPackColor(GLuint cpp,
static inline GLuint radeonPackColor(GLuint cpp,
GLubyte r, GLubyte g,
GLubyte b, GLubyte a)
{

View File

@ -110,7 +110,7 @@ do { \
memcpy( rmesa->hw.ATOM.lastcmd, rmesa->hw.ATOM.cmd, \
rmesa->hw.ATOM.cmd_size * 4)
static INLINE int RADEON_DB_STATECHANGE(r100ContextPtr rmesa,
static inline int RADEON_DB_STATECHANGE(r100ContextPtr rmesa,
struct radeon_state_atom *atom )
{
if (memcmp(atom->cmd, atom->lastcmd, atom->cmd_size*4)) {

View File

@ -374,7 +374,7 @@ static const GLuint hw_prim[GL_POLYGON+1] = {
0
};
static INLINE void
static inline void
radeonDmaPrimitive( r100ContextPtr rmesa, GLenum prim )
{
RADEON_NEWPRIM( rmesa );