From: Chih-Min Chao Date: Wed, 8 Apr 2015 18:04:13 +0000 (+0800) Subject: ui/console : remove 'struct' from 'typedef struct' type X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~216^2~36 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9425c004fe287bfe95e2bf64634d6a618c2b596c;p=sdk%2Femulator%2Fqemu.git ui/console : remove 'struct' from 'typedef struct' type Signed-off-by: Chih-Min Chao Reviewed-by: Gerd Hoffmann Signed-off-by: Michael Tokarev --- diff --git a/ui/console.c b/ui/console.c index 2927513..f5295c4 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 c71a059..e293ec2 100644 --- a/ui/spice-display.c +++ b/ui/spice-display.c @@ -718,7 +718,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);