From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLE6D-0007dP-SK for qemu-devel@nongnu.org; Mon, 18 Jan 2016 13:00:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aLE69-0001QK-M5 for qemu-devel@nongnu.org; Mon, 18 Jan 2016 13:00:17 -0500 Received: from mx2.suse.de ([195.135.220.15]:57680) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLE69-0001Px-FB for qemu-devel@nongnu.org; Mon, 18 Jan 2016 13:00:13 -0500 References: <1453138544-8457-1-git-send-email-peter.maydell@linaro.org> From: =?UTF-8?Q?Andreas_F=c3=a4rber?= Message-ID: <569D282C.8050407@suse.de> Date: Mon, 18 Jan 2016 19:00:12 +0100 MIME-Version: 1.0 In-Reply-To: <1453138544-8457-1-git-send-email-peter.maydell@linaro.org> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] cpu: Clean up includes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , qemu-devel@nongnu.org Cc: patches@linaro.org Am 18.01.2016 um 18:35 schrieb Peter Maydell: > Clean up includes so that osdep.h is included first and headers > which it implies are not included manually. >=20 > This commit was created with scripts/clean-includes. >=20 > Signed-off-by: Peter Maydell > --- > qom/cpu.c | 1 + > target-i386/cpu.c | 5 +---- > 2 files changed, 2 insertions(+), 4 deletions(-) >=20 > diff --git a/qom/cpu.c b/qom/cpu.c > index 8f537a4..edd6b6a 100644 > --- a/qom/cpu.c > +++ b/qom/cpu.c > @@ -18,6 +18,7 @@ > * > */ > =20 > +#include "qemu/osdep.h" > #include "qemu-common.h" Shouldn't qemu-common.h include osdep.h? Otherwise looks okay. Regards, Andreas > #include "qom/cpu.h" > #include "sysemu/kvm.h" > diff --git a/target-i386/cpu.c b/target-i386/cpu.c > index 0d447b5..1e3b98a 100644 > --- a/target-i386/cpu.c > +++ b/target-i386/cpu.c > @@ -16,10 +16,7 @@ > * You should have received a copy of the GNU Lesser General Public > * License along with this library; if not, see . > */ > -#include > -#include > -#include > -#include > +#include "qemu/osdep.h" > =20 > #include "cpu.h" > #include "sysemu/kvm.h" --=20 SUSE Linux GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Felix Imend=F6rffer, Jane Smithard, Graham Norton; HRB 21284 (AG N=FC= rnberg)