Skip to content

Commit

Permalink
stubs: Fix warning caused by missing include statement
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>
  • Loading branch information
stweil authored and Michael Tokarev committed Feb 10, 2015
1 parent 51575c3 commit 2822c1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/qtest.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 2822c1b

Please sign in to comment.