diff vidix/sysdep/pci_bsdi.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
line wrap: on
line diff
--- a/vidix/sysdep/pci_bsdi.c	Sun Feb 19 15:21:23 2012 +0000
+++ b/vidix/sysdep/pci_bsdi.c	Sun Feb 19 15:21:28 2012 +0000
@@ -13,7 +13,7 @@
 
 static int io_fd;
 
-static __inline__ int enable_os_io(void)
+static inline int enable_os_io(void)
 {
     io_fd = -1 ;
     if ((io_fd = open("/dev/console", O_RDWR, 0)) < 0) {
@@ -27,7 +27,7 @@
     return 0;
 }
 
-static __inline__ int disable_os_io(void)
+static inline int disable_os_io(void)
 {
     if (ioctl(io_fd, PCCONDISABIOPL, 0) < 0) {
         perror("ioctl(PCCONDISABIOPL)");