diff options
author | Brian Paul <[email protected]> | 2008-06-21 10:20:54 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-06-21 10:20:54 -0600 |
commit | 2c1bead06928961a18aea14b3cae4e854ceb915e (patch) | |
tree | de2dc74948e51f79047eb7bdbfad39b2e8955bcf /src/mesa | |
parent | 77d917a74ae677bcd277654adb67e9e532730046 (diff) |
s/inline/INLINE
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/directfb/idirectfbgl_mesa.c | 4 | ||||
-rw-r--r-- | src/mesa/drivers/svga/svgamesa24.c | 2 | ||||
-rw-r--r-- | 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" |