diff options
author | Stefan Weil <sw@weilnetz.de> | 2014-09-19 22:49:03 +0200 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2014-09-22 12:09:43 +0400 |
commit | e0bcc42ee723dcb973167658f9e67536fa009591 (patch) | |
tree | f400329b5587cd75a6a6ace853b18e334e913490 /hw/i386 | |
parent | a011898d25b8a26a311d56dfe37e8d3a4374ec65 (diff) |
pc: Add missing 'static' attribute
This fixes a warning from smatch (static code analysis).
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/i386')
-rw-r--r-- | hw/i386/pc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/pc.c b/hw/i386/pc.c index 2c2e9dcbf4..82a7daa188 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -75,7 +75,7 @@ /* Leave a chunk of memory at the top of RAM for the BIOS ACPI tables * (128K) and other BIOS datastructures (less than 4K reported to be used at * the moment, 32K should be enough for a while). */ -unsigned acpi_data_size = 0x20000 + 0x8000; +static unsigned acpi_data_size = 0x20000 + 0x8000; void pc_set_legacy_acpi_data_size(void) { acpi_data_size = 0x10000; |