From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60436) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8qap-0000cI-33 for qemu-devel@nongnu.org; Tue, 15 Dec 2015 09:28:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a8qao-0005Yz-AA for qemu-devel@nongnu.org; Tue, 15 Dec 2015 09:28:43 -0500 Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]:36976) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8qao-0005Yr-2g for qemu-devel@nongnu.org; Tue, 15 Dec 2015 09:28:42 -0500 Received: by mail-wm0-x22a.google.com with SMTP id n186so28423327wmn.0 for ; Tue, 15 Dec 2015 06:28:41 -0800 (PST) Received: from 640k.lan (94-39-192-53.adsl-ull.clienti.tiscali.it. [94.39.192.53]) by smtp.gmail.com with ESMTPSA id h5sm1659851wjz.21.2015.12.15.06.28.40 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Dec 2015 06:28:40 -0800 (PST) Sender: Paolo Bonzini From: Paolo Bonzini Date: Tue, 15 Dec 2015 15:28:30 +0100 Message-Id: <1450189710-18264-7-git-send-email-pbonzini@redhat.com> In-Reply-To: <1450189710-18264-1-git-send-email-pbonzini@redhat.com> References: <1450189710-18264-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 6/6] sh: use SuperHCPU struct to avoid cpu.h dependency List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Signed-off-by: Paolo Bonzini --- include/hw/sh4/sh.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/hw/sh4/sh.h b/include/hw/sh4/sh.h index e61de9a..32f688c 100644 --- a/include/hw/sh4/sh.h +++ b/include/hw/sh4/sh.h @@ -8,10 +8,11 @@ #define P4ADDR(x) ((x) | 0xe0000000) /* sh7750.c */ +struct SuperHCPU; struct SH7750State; struct MemoryRegion; -struct SH7750State *sh7750_init(SuperHCPU *cpu, struct MemoryRegion *sysmem); +struct SH7750State *sh7750_init(struct SuperHCPU *cpu, struct MemoryRegion *sysmem); typedef struct { /* The callback will be triggered if any of the designated lines change */ -- 1.8.3.1