[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 06/42] ui/console : remove 'struct' from 'typedef str
From: |
Michael Tokarev |
Subject: |
[Qemu-devel] [PULL 06/42] ui/console : remove 'struct' from 'typedef struct' type |
Date: |
Thu, 30 Apr 2015 08:08:19 +0300 |
From: Chih-Min Chao <address@hidden>
Signed-off-by: Chih-Min Chao <address@hidden>
Reviewed-by: Gerd Hoffmann <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
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 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);
--
2.1.4
- [Qemu-devel] [PULL 42/42] microblaze: fix memory leak, (continued)
- [Qemu-devel] [PULL 42/42] microblaze: fix memory leak, Michael Tokarev, 2015/04/30
- [Qemu-devel] [PULL 41/42] tcg: Delete unused cpu_pc_from_tb(), Michael Tokarev, 2015/04/30
- [Qemu-devel] [PULL 17/42] usb: Remove unused functions, Michael Tokarev, 2015/04/30
- [Qemu-devel] [PULL 35/42] linux-user/elfload: use QTAILQ_FOREACH instead of open-coding it, Michael Tokarev, 2015/04/30
- [Qemu-devel] [PULL 31/42] cpus: use first_cpu macro instead of QTAILQ_FIRST(&cpus), Michael Tokarev, 2015/04/30
- [Qemu-devel] [PULL 32/42] input: remove unused mouse_handlers list, Michael Tokarev, 2015/04/30
- [Qemu-devel] [PULL 24/42] defconfigs: Piggyback microblazeel on microblaze, Michael Tokarev, 2015/04/30
- [Qemu-devel] [PULL 29/42] microblaze: cpu: Renumber EXCP_* constants to close gap, Michael Tokarev, 2015/04/30
- [Qemu-devel] [PULL 39/42] vhost-user: remove superfluous '\n' around error_report(), Michael Tokarev, 2015/04/30
- [Qemu-devel] [PULL 37/42] qmp-commands: Fix typo, Michael Tokarev, 2015/04/30
- [Qemu-devel] [PULL 06/42] ui/console : remove 'struct' from 'typedef struct' type,
Michael Tokarev <=
- [Qemu-devel] [PULL 23/42] libcacard: do not use full paths for include files in the same dir, Michael Tokarev, 2015/04/30
- [Qemu-devel] [PULL 04/42] ui/vnc : fix coding style, Michael Tokarev, 2015/04/30
- [Qemu-devel] [PULL 28/42] microblaze: cpu: Delete EXCP_NMI, Michael Tokarev, 2015/04/30
- [Qemu-devel] [PULL 08/42] misc: Fix new collection of typos, Michael Tokarev, 2015/04/30
- [Qemu-devel] [PULL 33/42] qemu-char: remove unused list node from FDCharDriver, Michael Tokarev, 2015/04/30
- [Qemu-devel] [PULL 34/42] coroutine: remove unnecessary parentheses in qemu_co_queue_empty, Michael Tokarev, 2015/04/30
- [Qemu-devel] [PULL 11/42] tpm: fix coding style, Michael Tokarev, 2015/04/30
- [Qemu-devel] [PULL 15/42] pci: Remove unused function ich9_d2pbr_init(), Michael Tokarev, 2015/04/30
- [Qemu-devel] [PULL 22/42] libcacard: stop including qemu-common.h, Michael Tokarev, 2015/04/30
- [Qemu-devel] [PULL 36/42] i440fx-test: remove ARRAY_SIZE redefinition, Michael Tokarev, 2015/04/30