diff vidix/mach64_vid.c @ 34653:958431e2cde0

Make inline keyword handling consistent. Replace __inline__ and __inline by inline and move it after the static keyword.
author diego
date Sun, 19 Feb 2012 15:21:28 +0000
parents d4af28753ec8
children 945eab072c9d
line wrap: on
line diff
--- a/vidix/mach64_vid.c	Sun Feb 19 15:21:23 2012 +0000
+++ b/vidix/mach64_vid.c	Sun Feb 19 15:21:28 2012 +0000
@@ -160,13 +160,13 @@
 		OUTREG(addr, _tmp);					\
 	} while (0)
 
-static __inline__ int ATIGetMach64LCDReg(int _Index)
+static inline int ATIGetMach64LCDReg(int _Index)
 {
         OUTREG8(LCD_INDEX, _Index);
         return INREG(LCD_DATA);
 }
 
-static __inline__ uint32_t INPLL(uint32_t addr)
+static inline uint32_t INPLL(uint32_t addr)
 {
     uint32_t res;
     uint32_t in;
@@ -180,7 +180,7 @@
     return res;
 }
 
-static __inline__ void OUTPLL(uint32_t addr,uint32_t val)
+static inline void OUTPLL(uint32_t addr, uint32_t val)
 {
 //FIXME buggy but its not used
     /* write addr byte */