Skip to content

Commit

Permalink
ui: Add missing 'static' attribute
Browse files Browse the repository at this point in the history
There was already a forward declaration using 'static',
but the attribute was missing in the implementation.

This fixes a warning from the static code analysis (smatch).

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
  • Loading branch information
stweil authored and Michael Tokarev committed May 7, 2014
1 parent 79f3202 commit 6075137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/console.c
Expand Up @@ -1407,7 +1407,7 @@ void dpy_gfx_replace_surface(QemuConsole *con,
qemu_free_displaysurface(old_surface);
}

void dpy_refresh(DisplayState *s)
static void dpy_refresh(DisplayState *s)
{
DisplayChangeListener *dcl;

Expand Down

0 comments on commit 6075137

Please sign in to comment.