]> xenbits.xensource.com Git - qemu-upstream-4.6-testing.git/commitdiff
ui: Add missing 'static' attribute
authorStefan Weil <sw@weilnetz.de>
Fri, 2 May 2014 20:48:30 +0000 (22:48 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 7 May 2014 17:00:43 +0000 (21:00 +0400)
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>
ui/console.c

index e057755c041f6a8066afdd80d2b3798c649cdc20..34d1eaa95557a47353c5473147a9e07ae8fe9ca0 100644 (file)
@@ -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;