comparison vidix/pci.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 0553c67e2f83
children 3c5c93a30fb7
comparison
equal deleted inserted replaced
34652:4e7cc799cf54 34653:958431e2cde0
102 */ 102 */
103 #include <smem.h> 103 #include <smem.h>
104 104
105 static unsigned char *pciConfBase; 105 static unsigned char *pciConfBase;
106 106
107 static __inline__ unsigned long 107 static inline unsigned long
108 static swapl(unsigned long val) 108 static swapl(unsigned long val)
109 { 109 {
110 unsigned char *p = (unsigned char *)&val; 110 unsigned char *p = (unsigned char *)&val;
111 return (p[3] << 24) | (p[2] << 16) | (p[1] << 8) | (p[0] << 0); 111 return (p[3] << 24) | (p[2] << 16) | (p[1] << 8) | (p[0] << 0);
112 } 112 }