Skip to contentSkip to conversation

ui: Add missing 'static' attribute

PATCH Applied Stefan Weil 2 participants 2 messages May 2, 2014 – May 3, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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).

---
 ui/console.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ui/console.c +1 -1
index e057755..34d1eaa 100644
@@ -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;
 
Signature · 1 line
1.7.10.4