s/inline/INLINE
This commit is contained in:
parent
77d917a74a
commit
2c1bead069
|
@ -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 );
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue