qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [6887] Fix warning in vl.c
@ 2009-03-28  8:24 Blue Swirl
  0 siblings, 0 replies; only message in thread
From: Blue Swirl @ 2009-03-28  8:24 UTC (permalink / raw)
  To: qemu-devel

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'


Signed-off-by: Christoph Hellwig <hch@lst.de>

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

Modified: trunk/vl.c
===================================================================
--- trunk/vl.c	2009-03-28 08:14:42 UTC (rev 6886)
+++ trunk/vl.c	2009-03-28 08:24:44 UTC (rev 6887)
@@ -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"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-28  8:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-28  8:24 [Qemu-devel] [6887] Fix warning in vl.c Blue Swirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).