diff mbox

kvm-userland vl.c compiler warning

Message ID 49CB8A29.7010007@sgi.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jes Sorensen March 26, 2009, 1:59 p.m. UTC
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

Comments

Avi Kivity March 29, 2009, 2:36 p.m. UTC | #1
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.
diff mbox

Patch

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"