diff options
author | Stefan Weil <sw@weilnetz.de> | 2014-05-02 22:48:30 +0200 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2014-05-07 21:00:43 +0400 |
commit | 6075137d949e078744b332ba2279348bff64bf83 (patch) | |
tree | a1b7b2168d89262d3c03e2d6e30076204b5d6b7a /ui/console.c | |
parent | 79f320246c8ee972e4b3469027492533fca178d8 (diff) | |
download | qemu-6075137d949e078744b332ba2279348bff64bf83.zip |
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 <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'ui/console.c')
-rw-r--r-- | ui/console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/console.c b/ui/console.c index e057755c04..34d1eaa955 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; |