# HG changeset patch # User diego # Date 1277293046 0 # Node ID 98e1af7a4077f6443732ac5fdea540601ddda192 # Parent 765facb4279f14c8266775691f28d0f45af06dc3 Fix iopl() function declaration, fixes the warning: vidix/sysdep/pci_linux.c:32: warning: function declaration isn't a prototype diff -r 765facb4279f -r 98e1af7a4077 vidix/sysdep/pci_linux.c --- 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 #ifdef __i386__ //#include doesn't exist on libc5 systems -int iopl(); +int iopl(int level); #elif defined(__sh__) #define iopl(x) 1 #else