From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LnTqT-0001Li-9e for qemu-devel@nongnu.org; Sat, 28 Mar 2009 04:24:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LnTqS-0001L6-IJ for qemu-devel@nongnu.org; Sat, 28 Mar 2009 04:24:48 -0400 Received: from [199.232.76.173] (port=46379 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LnTqS-0001L0-Br for qemu-devel@nongnu.org; Sat, 28 Mar 2009 04:24:48 -0400 Received: from savannah.gnu.org ([199.232.41.3]:59745 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LnTqS-0007zj-5i for qemu-devel@nongnu.org; Sat, 28 Mar 2009 04:24:48 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1LnTqP-000273-Uq for qemu-devel@nongnu.org; Sat, 28 Mar 2009 08:24:46 +0000 Received: from blueswir1 by cvs.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1LnTqP-00026v-D5 for qemu-devel@nongnu.org; Sat, 28 Mar 2009 08:24:45 +0000 MIME-Version: 1.0 Errors-To: blueswir1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Blue Swirl Message-Id: Date: Sat, 28 Mar 2009 08:24:45 +0000 Subject: [Qemu-devel] [6887] Fix warning in vl.c Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 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"