Skip to content

Commit

Permalink
ui/console : remove 'struct' from 'typedef struct' type
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
cmchao authored and Michael Tokarev committed Apr 30, 2015
1 parent 4769a88 commit 9425c00
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ui/console.c
Expand Up @@ -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);
Expand Down Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion ui/spice-display.c
Expand Up @@ -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);
Expand Down

0 comments on commit 9425c00

Please sign in to comment.