pc: Add missing 'static' attribute
authorStefan Weil <sw@weilnetz.de>
Fri, 19 Sep 2014 20:49:03 +0000 (22:49 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 22 Sep 2014 08:09:43 +0000 (12:09 +0400)
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>
hw/i386/pc.c

index 2c2e9dc..82a7daa 100644 (file)
@@ -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;