[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 08/10] stubs: Fix warning caused by missing include
From: |
Stefan Weil |
Subject: |
[Qemu-devel] [PATCH 08/10] stubs: Fix warning caused by missing include statement |
Date: |
Fri, 6 Feb 2015 22:43:15 +0100 |
Warning from the Sparse static analysis tool:
stubs/qtest.c:14:6:
warning: symbol 'qtest_allowed' was not declared. Should it be static?
Add the missing include statement which declares qtest_allowed.
Signed-off-by: Stefan Weil <address@hidden>
---
stubs/qtest.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stubs/qtest.c b/stubs/qtest.c
index e671ed8..dc17594 100644
--- a/stubs/qtest.c
+++ b/stubs/qtest.c
@@ -8,7 +8,7 @@
* See the COPYING file in the top-level directory.
*/
-#include "qemu-common.h"
+#include "sysemu/qtest.h"
/* Needed for qtest_allowed() */
bool qtest_allowed;
--
2.1.4
- [Qemu-devel] [PATCH 00/10] Fix warnings (undeclared global symbols), Stefan Weil, 2015/02/07
- [Qemu-devel] [PATCH 02/10] disas/sh4: Fix warning caused by missing 'static' attribute, Stefan Weil, 2015/02/07
- [Qemu-devel] [PATCH 04/10] migration: Fix warnings caused by missing 'static' attribute, Stefan Weil, 2015/02/07
- [Qemu-devel] [PATCH 01/10] disas/cris: Fix warning caused by missing 'static' attribute, Stefan Weil, 2015/02/07
- [Qemu-devel] [PATCH 05/10] moxie: Fix warning caused by missing include statement, Stefan Weil, 2015/02/07
- [Qemu-devel] [PATCH 03/10] migration: Fix warning caused by missing declaration of vmstate_dummy, Stefan Weil, 2015/02/07
- [Qemu-devel] [PATCH 07/10] spice: Add missing 'static' attribute, Stefan Weil, 2015/02/07
- [Qemu-devel] [PATCH 10/10] virtio: Fix warning caused by missing 'static' attribute, Stefan Weil, 2015/02/07
- [Qemu-devel] [PATCH 09/10] vga: Fix warning caused by missing 'static' attribute, Stefan Weil, 2015/02/07
- [Qemu-devel] [PATCH 08/10] stubs: Fix warning caused by missing include statement,
Stefan Weil <=
- [Qemu-devel] [PATCH 06/10] serial: Fix warnings caused by missing 'static' attribute, Stefan Weil, 2015/02/07
- Re: [Qemu-devel] [Qemu-trivial] [PATCH 00/10] Fix warnings (undeclared global symbols), Michael Tokarev, 2015/02/08