From 2c1bead06928961a18aea14b3cae4e854ceb915e Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 21 Jun 2008 10:20:54 -0600 Subject: [PATCH] s/inline/INLINE --- src/mesa/drivers/directfb/idirectfbgl_mesa.c | 4 ++-- src/mesa/drivers/svga/svgamesa24.c | 2 +- src/mesa/drivers/svga/svgamesa32.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mesa/drivers/directfb/idirectfbgl_mesa.c b/src/mesa/drivers/directfb/idirectfbgl_mesa.c index 665731c327a..a364ada1f19 100644 --- a/src/mesa/drivers/directfb/idirectfbgl_mesa.c +++ b/src/mesa/drivers/directfb/idirectfbgl_mesa.c @@ -102,7 +102,7 @@ typedef struct { static pthread_mutex_t global_lock = PTHREAD_MUTEX_INITIALIZER; static unsigned int global_ref = 0; -static inline int directfbgl_init( void ) +static INLINE int directfbgl_init( void ) { pthread_mutexattr_t attr; int ret; @@ -118,7 +118,7 @@ static inline int directfbgl_init( void ) return ret; } -static inline void directfbgl_finish( void ) +static INLINE void directfbgl_finish( void ) { if (--global_ref == 0) pthread_mutex_destroy( &global_lock ); diff --git a/src/mesa/drivers/svga/svgamesa24.c b/src/mesa/drivers/svga/svgamesa24.c index dd15bf38db2..794c24c6259 100644 --- a/src/mesa/drivers/svga/svgamesa24.c +++ b/src/mesa/drivers/svga/svgamesa24.c @@ -40,7 +40,7 @@ #if 0 /* this doesn't compile with GCC on RedHat 6.1 */ -static inline int RGB2BGR24(int c) +static INLINE int RGB2BGR24(int c) { asm("rorw $8, %0\n" "rorl $16, %0\n" diff --git a/src/mesa/drivers/svga/svgamesa32.c b/src/mesa/drivers/svga/svgamesa32.c index 4da18795d8c..be4e51f7789 100644 --- a/src/mesa/drivers/svga/svgamesa32.c +++ b/src/mesa/drivers/svga/svgamesa32.c @@ -40,7 +40,7 @@ #if 0 /* this doesn't compile with GCC on RedHat 6.1 */ -static inline int RGB2BGR32(int c) +static INLINE int RGB2BGR32(int c) { asm("rorw $8, %0\n" "rorl $16, %0\n"