Skip to contentSkip to conversation

[6887] Fix warning in vl.c

Qemu-devel Blue Swirl 1 participant 1 message Mar 28, 2009

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw

Revision: 6887

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6887
Author:   blueswir1
Date:     2009-03-28 08:24:44 +0000 (Sat, 28 Mar 2009)

Log Message:
-----------
Fix warning in vl.c

vl.c calls dma_helper_init, so it needs to include dma.h to get a definition for it, otherwise we get compiler warnings like:

/home/hch/work/qemu/vl.c: In function 'main':
/home/hch/work/qemu/vl.c:5518: warning: implicit declaration of function 'dma_helper_init'

Modified Paths:
--------------
trunk/vl.c

Modified: trunk/vl.c
===================================================================

vl.c +1 -0
@@ -148,6 +148,7 @@
 #include "qemu-char.h"
 #include "cache-utils.h"
 #include "block.h"
+#include "dma.h"
 #include "audio/audio.h"
 #include "migration.h"
 #include "kvm.h"