aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2015-02-06 22:43:15 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2015-02-10 10:26:05 +0300
commit2822c1b65b54341dee33a85c96d419512f2b2da2 (patch)
tree20b1725315b3e8ebd1e8195e5b26a8e17b2d1db5
parent51575c3fca79b90953502dd1fa574711155a167e (diff)
stubs: Fix warning caused by missing include statement
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 <sw@weilnetz.de> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
-rw-r--r--stubs/qtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stubs/qtest.c b/stubs/qtest.c
index e671ed8e8e..dc17594bb6 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;