[PATCH] acpi: fpdt: make variable table static
Colin King
colin.king at canonical.com
Mon Jan 30 17:15:02 UTC 2017
From: Colin Ian King <colin.king at canonical.com>
table is currently in global scope and doesn't need to be. Make
it static.
Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
src/acpi/fpdt/fpdt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/acpi/fpdt/fpdt.c b/src/acpi/fpdt/fpdt.c
index 991e45b..ec9b1f5 100644
--- a/src/acpi/fpdt/fpdt.c
+++ b/src/acpi/fpdt/fpdt.c
@@ -27,7 +27,7 @@
#include <string.h>
#include <ctype.h>
-fwts_acpi_table_info *table;
+static fwts_acpi_table_info *table;
static int fpdt_init(fwts_framework *fw)
{
--
2.10.2
More information about the fwts-devel
mailing list