kvm-userland vl.c compiler warning
PATCH 1/1 kvm-userland vl.c compiler warning
Hi,
A minor cosmetic fix to tell the compiler to shut up by including the header providing the prototype for dma_helper_init().
Cheers,
Jes
vl.c needs to include dma.h which provides the prototype for dma_helper_init() to avoid a compiler warning.
Signed-off-by Jes Sorensen <[email protected]>
--- qemu/vl.c | 1 + 1 file changed, 1 insertion(+)
qemu/vl.c +1 -0
@@ -154,6 +154,7 @@#include "kvm.h" #include "balloon.h" #include "qemu-kvm.h" +#include "dma.h" #include "hw/device-assignment.h" #include "disas.h"
Quoted 4 lines · Jes Sorensen
Hi,
A minor cosmetic fix to tell the compiler to shut up by including the header providing the prototype for
dma_helper_init().
I already got this via qemu-svn.
Signature · 1 line
error compiling committee.c: too many arguments to function