From: Stefan Weil Date: Fri, 2 May 2014 20:48:30 +0000 (+0200) Subject: ui: Add missing 'static' attribute X-Git-Tag: v2.1.0-rc0~141^2~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6075137d949e078744b332ba2279348bff64bf83;p=thirdparty%2Fqemu.git ui: Add missing 'static' attribute 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 Signed-off-by: Michael Tokarev --- diff --git a/ui/console.c b/ui/console.c index e057755c041..34d1eaa9555 100644 --- a/ui/console.c +++ b/ui/console.c @@ -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;