Message ID | 49CB8A29.7010007@sgi.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Jes Sorensen wrote: > 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.
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 <jes@sgi.com> --- qemu/vl.c | 1 + 1 file changed, 1 insertion(+) Index: kvm-userspace.git/qemu/vl.c =================================================================== --- kvm-userspace.git.orig/qemu/vl.c +++ kvm-userspace.git/qemu/vl.c @@ -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"