Mercurial > mplayer.hg
diff vidix/sysdep/pci_mach386.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_mach386.c Sun Feb 19 15:21:23 2012 +0000 +++ b/vidix/sysdep/pci_mach386.c Sun Feb 19 15:21:28 2012 +0000 @@ -30,7 +30,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/iopl", O_RDWR, 0)) < 0) { @@ -40,7 +40,7 @@ return 0; } -static __inline__ int disable_os_io(void) +static inline int disable_os_io(void) { close(io_fd); return 0;