Jes Sorensen wrote:
Hi,Small patch to eliminate some compiler warnings. Cheers, Jes #include "exec-all.h" #else #define kvm_enabled() 0 -#define qemu_kvm_aio_start() ((void)0) -#define qemu_kvm_aio_end() ((void)0) -#define qemu_kvm_aio_wait() ((void)0) -#define qemu_kvm_aio_poll() ((void)0) +#define qemu_kvm_aio_wait() do{}while(0) +#define qemu_kvm_aio_poll() do{}while(0) +void qemu_kvm_aio_wait_start(void); +void qemu_kvm_aio_wait_end(void);
Better to have this as an inline function; that's the best way to avoid misuse.
-- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
