diff options
author | Stefan Weil | 2014-03-16 19:13:18 +0100 |
---|---|---|
committer | Michael Tokarev | 2014-03-27 16:22:48 +0100 |
commit | 06ab66cfab317741ab55d164ec3530c08ce1a547 (patch) | |
tree | c01185cef215a66faf9126ed1e01ee366f7bb567 /hw/ide | |
parent | target-arm: Add missing 'static' attribute (diff) | |
download | qemu-06ab66cfab317741ab55d164ec3530c08ce1a547.tar.gz qemu-06ab66cfab317741ab55d164ec3530c08ce1a547.tar.xz qemu-06ab66cfab317741ab55d164ec3530c08ce1a547.zip |
hw/ide: Add missing 'static' attributes
This fixes a warning from the static code analysis (smatch).
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/ide')
-rw-r--r-- | hw/ide/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide/pci.c b/hw/ide/pci.c index 91151fc85e..d8b1157c2e 100644 --- a/hw/ide/pci.c +++ b/hw/ide/pci.c @@ -421,7 +421,7 @@ static const VMStateDescription vmstate_bmdma_current = { } }; -const VMStateDescription vmstate_bmdma_status = { +static const VMStateDescription vmstate_bmdma_status = { .name ="ide bmdma/status", .version_id = 1, .minimum_version_id = 1, |