From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54417) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VT7mo-00080n-A7 for qemu-devel@nongnu.org; Mon, 07 Oct 2013 06:11:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VT7mj-0005Wv-QF for qemu-devel@nongnu.org; Mon, 07 Oct 2013 06:11:34 -0400 Received: from mel.act-europe.fr ([194.98.77.210]:48760 helo=smtp.eu.adacore.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VT7mj-0005Wl-JD for qemu-devel@nongnu.org; Mon, 07 Oct 2013 06:11:29 -0400 Message-ID: <525288C9.3080207@adacore.com> Date: Mon, 07 Oct 2013 12:11:21 +0200 From: Fabien Chouteau MIME-Version: 1.0 References: <1380905823-3981-1-git-send-email-chouteau@adacore.com> <1380905823-3981-4-git-send-email-chouteau@adacore.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 3/4] Refactoring MonitorDef array List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Luiz Capitulino , QEMU Developers , =?UTF-8?B?QW5kcmVhcyBGw6RyYmU=?= =?UTF-8?B?cg==?= On 10/04/2013 07:49 PM, Peter Maydell wrote: > On 5 October 2013 01:57, Fabien Chouteau wrote: > >> @@ -47,7 +48,9 @@ >> #include "hw/xen/xen.h" >> #include "hw/i386/apic_internal.h" >> #endif >> +#include "monitor/monitor_def.h" >> >> +extern const MonitorDef i386_monitor_defs[]; > > Declare this in cpu-qom.h, rather than having an > extern declaration in a .c file. > I didn't manage to do that. > >> --- a/target-sparc/cpu-qom.h >> +++ b/target-sparc/cpu-qom.h >> @@ -21,7 +21,6 @@ >> #define QEMU_SPARC_CPU_QOM_H >> >> #include "qom/cpu.h" >> -#include "cpu.h" > > ...why have you deleted this #include ? > I thought I added it myself, that's why I removed it. -- Fabien Chouteau