Received: from eggs.gnu.org ([2001:4830:134:3::10]:51830) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhNV6-0003S6-Ed for qemu-devel@nongnu.org; Mon, 05 May 2014 14:20:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WhNV0-0006pD-Rk for qemu-devel@nongnu.org; Mon, 05 May 2014 14:20:28 -0400 From: Michael Tokarev Date: Mon, 5 May 2014 22:01:51 +0400 Message-Id: <1399312923-24129-11-git-send-email-mjt@msgid.tls.msk.ru> In-Reply-To: <1399312923-24129-1-git-send-email-mjt@msgid.tls.msk.ru> References: <1399312923-24129-1-git-send-email-mjt@msgid.tls.msk.ru> Subject: [Qemu-devel] [PULL 10/22] ui: Add missing 'static' attribute List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Stefan Weil , Michael Tokarev From: Stefan Weil 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 Signed-off-by: Michael Tokarev --- 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, qemu_free_displaysurface(old_surface); } -void dpy_refresh(DisplayState *s) +static void dpy_refresh(DisplayState *s) { DisplayChangeListener *dcl; -- 1.7.10.4