Mercurial > mplayer.hg
comparison vidix/sysdep/pci_linux.c @ 31467:98e1af7a4077
Fix iopl() function declaration, fixes the warning:
vidix/sysdep/pci_linux.c:32: warning: function declaration isn't a prototype
author | diego |
---|---|
date | Wed, 23 Jun 2010 11:37:26 +0000 |
parents | 765facb4279f |
children | 32b1ffba017f |
comparison
equal
deleted
inserted
replaced
31466:765facb4279f | 31467:98e1af7a4077 |
---|---|
27 */ | 27 */ |
28 | 28 |
29 #include <errno.h> | 29 #include <errno.h> |
30 #ifdef __i386__ | 30 #ifdef __i386__ |
31 //#include <sys/perm.h> doesn't exist on libc5 systems | 31 //#include <sys/perm.h> doesn't exist on libc5 systems |
32 int iopl(); | 32 int iopl(int level); |
33 #elif defined(__sh__) | 33 #elif defined(__sh__) |
34 #define iopl(x) 1 | 34 #define iopl(x) 1 |
35 #else | 35 #else |
36 #if !defined(__sparc__) && !defined(__powerpc__) && !defined(__x86_64__) | 36 #if !defined(__sparc__) && !defined(__powerpc__) && !defined(__x86_64__) |
37 #include <sys/io.h> | 37 #include <sys/io.h> |