From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:59379) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ggPIy-0002eU-S7 for qemu-devel@nongnu.org; Mon, 07 Jan 2019 02:26:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ggPIy-0007QH-4u for qemu-devel@nongnu.org; Mon, 07 Jan 2019 02:26:36 -0500 References: <20190104175847.6290-1-philmd@redhat.com> <20190104175847.6290-12-philmd@redhat.com> From: Thomas Huth Message-ID: <87221351-b355-f489-6381-adb131cd6ec4@redhat.com> Date: Mon, 7 Jan 2019 08:26:19 +0100 MIME-Version: 1.0 In-Reply-To: <20190104175847.6290-12-philmd@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 11/16] typedefs: Remove PS2State List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , qemu-devel@nongnu.org Cc: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , "Edgar E. Iglesias" , Magnus Damm , David Gibson , Andrew Jeffery , qemu-arm@nongnu.org, qemu-trivial@nongnu.org, Joel Stanley , Peter Maydell , Andrzej Zaborowski , Igor Mitsyanko , Beniamino Galvani , Michael Walle , Richard Henderson , Jan Kiszka , Jason Wang , Gerd Hoffmann , Peter Chubb , Aurelien Jarno , =?UTF-8?Q?C=c3=a9dric_Le_Goater?= , Bastian Koppelmann , Rob Herring On 2019-01-04 18:58, Philippe Mathieu-Daud=C3=A9 wrote: > PS2State is only used in "hw/input/ps2.h", there is no > need to expose it via "qemu/typedefs.h". >=20 > Signed-off-by: Philippe Mathieu-Daud=C3=A9 > --- > include/hw/input/ps2.h | 2 ++ > include/qemu/typedefs.h | 1 - > 2 files changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/include/hw/input/ps2.h b/include/hw/input/ps2.h > index 213aa16aa3..b60455d4f6 100644 > --- a/include/hw/input/ps2.h > +++ b/include/hw/input/ps2.h > @@ -31,6 +31,8 @@ > #define PS2_MOUSE_BUTTON_SIDE 0x08 > #define PS2_MOUSE_BUTTON_EXTRA 0x10 > =20 > +typedef struct PS2State PS2State; > + > /* ps2.c */ > void *ps2_kbd_init(void (*update_irq)(void *, int), void *update_arg); > void *ps2_mouse_init(void (*update_irq)(void *, int), void *update_arg= ); > diff --git a/include/qemu/typedefs.h b/include/qemu/typedefs.h > index 927b340bb4..181f8fa68e 100644 > --- a/include/qemu/typedefs.h > +++ b/include/qemu/typedefs.h > @@ -82,7 +82,6 @@ typedef struct PixelFormat PixelFormat; > typedef struct PostcopyDiscardState PostcopyDiscardState; > typedef struct Property Property; > typedef struct PropertyInfo PropertyInfo; > -typedef struct PS2State PS2State; > typedef struct QEMUBH QEMUBH; > typedef struct QemuConsole QemuConsole; > typedef struct QemuDmaBuf QemuDmaBuf; >=20 Reviewed-by: Thomas Huth