comparison vidix/sysdep/pci_openbsd.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 502f04b67653
children
comparison
equal deleted inserted replaced
34652:4e7cc799cf54 34653:958431e2cde0
30 30
31 #include <errno.h> 31 #include <errno.h>
32 #include <sys/types.h> 32 #include <sys/types.h>
33 #include <machine/sysarch.h> 33 #include <machine/sysarch.h>
34 34
35 static __inline__ int enable_os_io(void) 35 static inline int enable_os_io(void)
36 { 36 {
37 if (i386_iopl(1) < 0) { 37 if (i386_iopl(1) < 0) {
38 perror("i386_iopl"); 38 perror("i386_iopl");
39 return errno; 39 return errno;
40 } 40 }
41 return 0; 41 return 0;
42 } 42 }
43 43
44 static __inline__ int disable_os_io(void) 44 static inline int disable_os_io(void)
45 { 45 {
46 /* Nothing to do */ 46 /* Nothing to do */
47 return 0; 47 return 0;
48 } 48 }
49 #endif 49 #endif