]> git.proxmox.com Git - mirror_qemu.git/commitdiff
moxie: Fix warning caused by missing include statement
authorStefan Weil <sw@weilnetz.de>
Fri, 6 Feb 2015 21:43:12 +0000 (22:43 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
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 <green@moxielogic.com>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
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",