projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79f3202
)
ui: Add missing 'static' attribute
author
Stefan Weil
<sw@weilnetz.de>
Fri, 2 May 2014 20:48:30 +0000
(22:48 +0200)
committer
Michael 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
patch
|
blob
|
history
diff --git
a/ui/console.c
b/ui/console.c
index e057755c041f6a8066afdd80d2b3798c649cdc20..34d1eaa95557a47353c5473147a9e07ae8fe9ca0 100644
(file)
--- 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;