qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [6887] Fix warning in vl.c


From: Blue Swirl
Subject: [Qemu-devel] [6887] Fix warning in vl.c
Date: Sat, 28 Mar 2009 08:24:45 +0000

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 <address@hidden>

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"





reply via email to

[Prev in Thread] Current Thread [Next in Thread]