From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59641) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfuKy-0001Zq-A6 for qemu-devel@nongnu.org; Wed, 08 Apr 2015 14:04:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YfuKx-0001KJ-Dq for qemu-devel@nongnu.org; Wed, 08 Apr 2015 14:04:28 -0400 From: Chih-Min Chao Date: Thu, 9 Apr 2015 02:04:13 +0800 Message-Id: <1428516254-23054-5-git-send-email-cmchao@gmail.com> In-Reply-To: <1428516254-23054-1-git-send-email-cmchao@gmail.com> References: <1428516254-23054-1-git-send-email-cmchao@gmail.com> Subject: [Qemu-devel] [PATCH 4/5] ui/console : remove 'struct' from 'typedef struct' type List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, kraxel@redhat.com, Chih-Min Chao Signed-off-by: Chih-Min Chao --- ui/console.c | 4 ++-- ui/spice-display.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/console.c b/ui/console.c index b15ca87..d8d268c 100644 --- a/ui/console.c +++ b/ui/console.c @@ -269,7 +269,7 @@ void graphic_hw_invalidate(QemuConsole *con) } } -static void ppm_save(const char *filename, struct DisplaySurface *ds, +static void ppm_save(const char *filename, DisplaySurface *ds, Error **errp) { int width = pixman_image_get_width(ds->image); @@ -1535,7 +1535,7 @@ void dpy_text_update(QemuConsole *con, int x, int y, int w, int h) void dpy_text_resize(QemuConsole *con, int w, int h) { DisplayState *s = con->ds; - struct DisplayChangeListener *dcl; + DisplayChangeListener *dcl; if (!qemu_console_is_visible(con)) { return; diff --git a/ui/spice-display.c b/ui/spice-display.c index 1644185..6767d08 100644 --- a/ui/spice-display.c +++ b/ui/spice-display.c @@ -715,7 +715,7 @@ static void display_update(DisplayChangeListener *dcl, } static void display_switch(DisplayChangeListener *dcl, - struct DisplaySurface *surface) + DisplaySurface *surface) { SimpleSpiceDisplay *ssd = container_of(dcl, SimpleSpiceDisplay, dcl); qemu_spice_display_switch(ssd, surface); -- 1.9.1