From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:50454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvK8Q-00060a-2q for qemu-devel@nongnu.org; Tue, 15 Jan 2013 22:57:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvK8P-0004iK-0m for qemu-devel@nongnu.org; Tue, 15 Jan 2013 22:57:54 -0500 Received: from cantor2.suse.de ([195.135.220.15]:57162 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvK8O-0004d8-Qc for qemu-devel@nongnu.org; Tue, 15 Jan 2013 22:57:52 -0500 Received: from relay2.suse.de (unknown [195.135.220.254]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 92D4EA51F5 for ; Wed, 16 Jan 2013 04:57:10 +0100 (CET) From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Wed, 16 Jan 2013 04:57:00 +0100 Message-Id: <1358308620-14122-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH qom-cpu for-1.4] target-openrisc: Drop OpenRISCCPUList List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Andreas=20F=C3=A4rber?= It was missed in the previous cleanup because its naming did not match the *CPUListState pattern. Use the generalized CPUListState instead. Signed-off-by: Andreas F=C3=A4rber --- target-openrisc/cpu.c | 9 ++------- 1 Datei ge=C3=A4ndert, 2 Zeilen hinzugef=C3=BCgt(+), 7 Zeilen entfernt(-= ) diff --git a/target-openrisc/cpu.c b/target-openrisc/cpu.c index 56544d8..7a55112 100644 --- a/target-openrisc/cpu.c +++ b/target-openrisc/cpu.c @@ -170,11 +170,6 @@ OpenRISCCPU *cpu_openrisc_init(const char *cpu_model= ) return cpu; } =20 -typedef struct OpenRISCCPUList { - fprintf_function cpu_fprintf; - FILE *file; -} OpenRISCCPUList; - /* Sort alphabetically by type name, except for "any". */ static gint openrisc_cpu_list_compare(gconstpointer a, gconstpointer b) { @@ -196,7 +191,7 @@ static gint openrisc_cpu_list_compare(gconstpointer a= , gconstpointer b) static void openrisc_cpu_list_entry(gpointer data, gpointer user_data) { ObjectClass *oc =3D data; - OpenRISCCPUList *s =3D user_data; + CPUListState *s =3D user_data; =20 (*s->cpu_fprintf)(s->file, " %s\n", object_class_get_name(oc)); @@ -204,7 +199,7 @@ static void openrisc_cpu_list_entry(gpointer data, gp= ointer user_data) =20 void cpu_openrisc_list(FILE *f, fprintf_function cpu_fprintf) { - OpenRISCCPUList s =3D { + CPUListState s =3D { .file =3D f, .cpu_fprintf =3D cpu_fprintf, }; --=20 1.7.10.4