Commit 2822c1b6 authored by Stefan Weil's avatar Stefan Weil Committed by Michael Tokarev
Browse files

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: default avatarStefan Weil <sw@weilnetz.de>
Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
parent 51575c3f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;