[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 05/10] moxie: Fix warning caused by missing include
From: |
Stefan Weil |
Subject: |
[Qemu-devel] [PATCH 05/10] moxie: Fix warning caused by missing include statement |
Date: |
Fri, 6 Feb 2015 22:43:12 +0100 |
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 <address@hidden>
Signed-off-by: Stefan Weil <address@hidden>
---
target-moxie/machine.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/target-moxie/machine.c b/target-moxie/machine.c
index da1a857..b9316f0 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",
--
2.1.4
- [Qemu-devel] [PATCH 00/10] Fix warnings (undeclared global symbols), Stefan Weil, 2015/02/07
- [Qemu-devel] [PATCH 02/10] disas/sh4: Fix warning caused by missing 'static' attribute, Stefan Weil, 2015/02/07
- [Qemu-devel] [PATCH 04/10] migration: Fix warnings caused by missing 'static' attribute, Stefan Weil, 2015/02/07
- [Qemu-devel] [PATCH 01/10] disas/cris: Fix warning caused by missing 'static' attribute, Stefan Weil, 2015/02/07
- [Qemu-devel] [PATCH 05/10] moxie: Fix warning caused by missing include statement,
Stefan Weil <=
- [Qemu-devel] [PATCH 03/10] migration: Fix warning caused by missing declaration of vmstate_dummy, Stefan Weil, 2015/02/07
- [Qemu-devel] [PATCH 07/10] spice: Add missing 'static' attribute, Stefan Weil, 2015/02/07
- [Qemu-devel] [PATCH 10/10] virtio: Fix warning caused by missing 'static' attribute, Stefan Weil, 2015/02/07
- [Qemu-devel] [PATCH 09/10] vga: Fix warning caused by missing 'static' attribute, Stefan Weil, 2015/02/07
- [Qemu-devel] [PATCH 08/10] stubs: Fix warning caused by missing include statement, Stefan Weil, 2015/02/07
- [Qemu-devel] [PATCH 06/10] serial: Fix warnings caused by missing 'static' attribute, Stefan Weil, 2015/02/07
- Re: [Qemu-devel] [Qemu-trivial] [PATCH 00/10] Fix warnings (undeclared global symbols), Michael Tokarev, 2015/02/08