changeset 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 dbab16182ba2
files vidix/sysdep/pci_linux.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vidix/sysdep/pci_linux.c	Wed Jun 23 11:36:40 2010 +0000
+++ b/vidix/sysdep/pci_linux.c	Wed Jun 23 11:37:26 2010 +0000
@@ -29,7 +29,7 @@
 #include <errno.h>
 #ifdef __i386__
 //#include <sys/perm.h> doesn't exist on libc5 systems
-int iopl();
+int iopl(int level);
 #elif defined(__sh__)
 #define iopl(x) 1
 #else