[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 10/22] ui: Add missing 'static' attribute

From: Michael Tokarev
Subject: [Qemu-devel] [PULL 10/22] ui: Add missing 'static' attribute
Date: Mon, 5 May 2014 22:01:51 +0400

From: Stefan Weil <address@hidden>

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 <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
 ui/console.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/console.c b/ui/console.c
index e057755..34d1eaa 100644
--- a/ui/console.c
+++ b/ui/console.c
@@ -1407,7 +1407,7 @@ void dpy_gfx_replace_surface(QemuConsole *con,
-void dpy_refresh(DisplayState *s)
+static void dpy_refresh(DisplayState *s)
     DisplayChangeListener *dcl;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]