summaryrefslogtreecommitdiff
path: root/ui/console.c
diff options
context:
space:
mode:
authorChih-Min Chao <cmchao@gmail.com>2015-04-09 02:04:13 +0800
committerMichael Tokarev <mjt@tls.msk.ru>2015-04-30 16:05:48 +0300
commit9425c004fe287bfe95e2bf64634d6a618c2b596c (patch)
tree047d2a204f19f594bf4119fc0eef3af51c45808b /ui/console.c
parent4769a881cbe1130e7ba4650471ef37e2cf998a9c (diff)
downloadqemu-9425c004fe287bfe95e2bf64634d6a618c2b596c.tar.gz
ui/console : remove 'struct' from 'typedef struct' type
Signed-off-by: Chih-Min Chao <cmchao@gmail.com> Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'ui/console.c')
-rw-r--r--ui/console.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/console.c b/ui/console.c
index 29275136c7..f5295c4688 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;