]> Git Repo - qemu.git/commitdiff
moxie: Fix warning caused by missing include statement
authorStefan Weil <[email protected]>
Fri, 6 Feb 2015 21:43:12 +0000 (22:43 +0100)
committerMichael Tokarev <[email protected]>
Tue, 10 Feb 2015 07:26:05 +0000 (10:26 +0300)
Warning from the Sparse static analysis tool:

target-moxie/machine.c:4:26:
 warning: symbol 'vmstate_moxie_cpu' was not declared. Should it be static?

machine.h includes the missing declaration.

Cc: Anthony Green <[email protected]>
Signed-off-by: Stefan Weil <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>
target-moxie/machine.c

index da1a8572a82415c41bb3adbf3c9a236eb2bb5b7a..b9316f0ec377df30c1f0df34867d9a6647b5e4c3 100644 (file)
@@ -1,5 +1,6 @@
 #include "hw/hw.h"
 #include "hw/boards.h"
+#include "machine.h"
 
 const VMStateDescription vmstate_moxie_cpu = {
     .name = "cpu",
This page took 0.02807 seconds and 4 git commands to generate.