s/inline/INLINE

This commit is contained in:
Brian Paul 2008-06-21 10:20:54 -06:00
parent 77d917a74a
commit 2c1bead069
3 changed files with 4 additions and 4 deletions

View File

@ -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 );

View File

@ -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"

View File

@ -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"