[PATCH] acpi: slic: make variable table static
Colin King
colin.king at canonical.com
Mon Jan 30 17:16:15 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/slic/slic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/acpi/slic/slic.c b/src/acpi/slic/slic.c
index a1a47ab..d59f929 100644
--- a/src/acpi/slic/slic.c
+++ b/src/acpi/slic/slic.c
@@ -30,7 +30,7 @@
#define DUMP_SLIC (0) /* Disable this, just used it for debugging */
-fwts_acpi_table_info *table;
+static fwts_acpi_table_info *table;
static int slic_init(fwts_framework *fw)
{
--
2.10.2
More information about the fwts-devel
mailing list