From 8e5479c7f806ffd57eed26c147e3ca227a39f0a7 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 1 Sep 2005 03:50:54 +0000 Subject: [PATCH] s/__inline/INLINE/ --- src/mesa/drivers/dri/r200/r200_swtcl.c | 4 ++-- src/mesa/drivers/dri/radeon/radeon_swtcl.c | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/mesa/drivers/dri/r200/r200_swtcl.c b/src/mesa/drivers/dri/r200/r200_swtcl.c index 9d5a2f2924a..375db2658dc 100644 --- a/src/mesa/drivers/dri/r200/r200_swtcl.c +++ b/src/mesa/drivers/dri/r200/r200_swtcl.c @@ -307,8 +307,8 @@ static void flush_last_swtcl_prim( r200ContextPtr rmesa ) /* Alloc space in the current dma region. */ -static __inline void *r200AllocDmaLowVerts( r200ContextPtr rmesa, - int nverts, int vsize ) +static INLINE void * +r200AllocDmaLowVerts( r200ContextPtr rmesa, int nverts, int vsize ) { GLuint bytes = vsize * nverts; diff --git a/src/mesa/drivers/dri/radeon/radeon_swtcl.c b/src/mesa/drivers/dri/radeon/radeon_swtcl.c index f126e4982d3..410ec102f47 100644 --- a/src/mesa/drivers/dri/radeon/radeon_swtcl.c +++ b/src/mesa/drivers/dri/radeon/radeon_swtcl.c @@ -317,8 +317,8 @@ static void flush_last_swtcl_prim( radeonContextPtr rmesa ) /* Alloc space in the current dma region. */ -static __inline void *radeonAllocDmaLowVerts( radeonContextPtr rmesa, - int nverts, int vsize ) +static INLINE void * +radeonAllocDmaLowVerts( radeonContextPtr rmesa, int nverts, int vsize ) { GLuint bytes = vsize * nverts; @@ -378,7 +378,8 @@ static const GLuint hw_prim[GL_POLYGON+1] = { 0 }; -static __inline void radeonDmaPrimitive( radeonContextPtr rmesa, GLenum prim ) +static INLINE void +radeonDmaPrimitive( radeonContextPtr rmesa, GLenum prim ) { RADEON_NEWPRIM( rmesa ); rmesa->swtcl.hw_primitive = hw_prim[prim]; -- 2.30.2