aboutsummaryrefslogtreecommitdiff
path: root/hw/fw_cfg.c
diff options
context:
space:
mode:
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,