Received: from eggs.gnu.org ([2001:4830:134:3::10]:45464) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVyq5-00032Z-Q4 for qemu-devel@nongnu.org; Mon, 22 Sep 2014 04:19:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XVypy-0000VB-Rv for qemu-devel@nongnu.org; Mon, 22 Sep 2014 04:19:17 -0400 From: Michael Tokarev Date: Mon, 22 Sep 2014 12:11:16 +0400 Message-Id: <1411373477-16938-9-git-send-email-mjt@msgid.tls.msk.ru> In-Reply-To: <1411373477-16938-1-git-send-email-mjt@tls.msk.ru> References: <1411373477-16938-1-git-send-email-mjt@tls.msk.ru> Subject: [Qemu-devel] [PULL 8/9] pc: Add missing 'static' attribute List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Stefan Weil , Michael Tokarev From: Stefan Weil This fixes a warning from smatch (static code analysis). Signed-off-by: Stefan Weil Signed-off-by: Michael Tokarev --- hw/i386/pc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/i386/pc.c b/hw/i386/pc.c index 2c2e9dc..82a7daa 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; -- 1.7.10.4