qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] fix warning in vl.c


From: Christoph Hellwig
Subject: [Qemu-devel] [PATCH] fix warning in vl.c
Date: Tue, 24 Mar 2009 14:39:59 +0100
User-agent: Mutt/1.3.28i

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>

Index: qemu/vl.c
===================================================================
--- qemu.orig/vl.c      2009-03-24 14:38:09.198978207 +0100
+++ qemu/vl.c   2009-03-24 14:38:20.913852975 +0100
@@ -148,6 +148,7 @@ int main(int argc, char **argv)
 #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]