summaryrefslogtreecommitdiff
path: root/hw/fw_cfg.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-12-04 20:44:44 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-12-04 20:44:44 +0000
commitd05ac8faf57d5f0bc9310e41a3a9099397a778a5 (patch)
treed6b0ff6b75ff22d3e8e9b460749a799c68274f1b /hw/fw_cfg.c
parent407f879abb7b3c9ad091f6dabb673dad06e549e8 (diff)
downloadqemu-d05ac8faf57d5f0bc9310e41a3a9099397a778a5.tar.gz
qemu-d05ac8faf57d5f0bc9310e41a3a9099397a778a5.tar.bz2
qemu-d05ac8faf57d5f0bc9310e41a3a9099397a778a5.zip
Add "static" to please Sparse
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/fw_cfg.c')
-rw-r--r--hw/fw_cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/fw_cfg.c b/hw/fw_cfg.c
index b79d58f694..b25affff87 100644
--- a/hw/fw_cfg.c
+++ b/hw/fw_cfg.c
@@ -182,7 +182,7 @@ static void put_unused(QEMUFile *f, void *pv, size_t size)
fprintf(stderr, "This functions shouldn't be called.\n");
}
-const VMStateInfo vmstate_hack_uint32_as_uint16 = {
+static const VMStateInfo vmstate_hack_uint32_as_uint16 = {
.name = "int32_as_uint16",
.get = get_uint32_as_uint16,
.put = put_unused,