[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,
qemu_free_displaysurface(old_surface);
}
-void dpy_refresh(DisplayState *s)
+static void dpy_refresh(DisplayState *s)
{
DisplayChangeListener *dcl;
--
1.7.10.4
- [Qemu-devel] [PULL 02/22] configure: remove bashism, (continued)
- [Qemu-devel] [PULL 02/22] configure: remove bashism, Michael Tokarev, 2014/05/05
- [Qemu-devel] [PULL 05/22] arch_init: Be sure of only one exit entry with DPRINTF() for ram_load(), Michael Tokarev, 2014/05/05
- [Qemu-devel] [PULL 22/22] libcacard: remove unnecessary EOL from debug prints, Michael Tokarev, 2014/05/05
- [Qemu-devel] [PULL 11/22] qemu-timer: Add missing 'static' attribute, Michael Tokarev, 2014/05/05
- [Qemu-devel] [PULL 07/22] hw/mips: Add missing 'static' and 'const' attributes, Michael Tokarev, 2014/05/05
- [Qemu-devel] [PULL 06/22] hw/9pfs: Add missing 'static' attributes, Michael Tokarev, 2014/05/05
- [Qemu-devel] [PULL 18/22] qmp: report path ambiguity error, Michael Tokarev, 2014/05/05
- [Qemu-devel] [PULL 21/22] docs/memory.txt: Fix document on MMIO operations, Michael Tokarev, 2014/05/05
- [Qemu-devel] [PULL 14/22] hw/9pfs: Add include file for exported symbol, Michael Tokarev, 2014/05/05
- [Qemu-devel] [PULL 16/22] glib: move g_poll() replacement into glib-compat.h, Michael Tokarev, 2014/05/05
- [Qemu-devel] [PULL 10/22] ui: Add missing 'static' attribute,
Michael Tokarev <=
- [Qemu-devel] [PULL 09/22] monitor: Add missing 'static' attribute, Michael Tokarev, 2014/05/05
- [Qemu-devel] [PULL 20/22] readline: Sort completions before printing them., Michael Tokarev, 2014/05/05
- [Qemu-devel] [PULL 17/22] libcacard: replace pstrcpy() with memcpy(), Michael Tokarev, 2014/05/05
- [Qemu-devel] [PULL 13/22] xen: remove unused global, xen_xcg, Michael Tokarev, 2014/05/05
- [Qemu-devel] [PULL 19/22] readline: use g_strndup instead of open-coding it, Michael Tokarev, 2014/05/05
- [Qemu-devel] [PULL 08/22] hw/s390x: Add missing 'static' attribute, Michael Tokarev, 2014/05/05
- [Qemu-devel] [PULL 15/22] do not call g_thread_init() for glib >= 2.31, Michael Tokarev, 2014/05/05
- [Qemu-devel] [PULL 12/22] hw: Add missing 'static' attributes, Michael Tokarev, 2014/05/05
- Re: [Qemu-devel] [PULL 00/22] Trivial patches for 2014-05-05, Peter Maydell, 2014/05/07