diff options
author | Stefan Weil <sw@weilnetz.de> | 2015-02-06 22:43:12 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2015-02-10 10:26:05 +0300 |
commit | 302fe1235cf61df432cb3e5ff7e4fb7cc8561679 (patch) | |
tree | c9b3c7053cd7e578ba6f8e656e69941cf15e5cff | |
parent | 2ae31aea21853c121968560138a817f103aafb92 (diff) |
moxie: Fix warning caused by missing include statement
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 <green@moxielogic.com>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
-rw-r--r-- | target-moxie/machine.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-moxie/machine.c b/target-moxie/machine.c index da1a8572a8..b9316f0ec3 100644 --- a/target-moxie/machine.c +++ b/target-moxie/machine.c @@ -1,5 +1,6 @@ #include "hw/hw.h" #include "hw/boards.h" +#include "machine.h" const VMStateDescription vmstate_moxie_cpu = { .name = "cpu", |