[prev in list] [next in list] [prev in thread] [next in thread]
List: fwts-devel
Subject: [PATCH 01/10] acpi: acpitables: make two more functions static
From: Colin King <colin.king () canonical ! com>
Date: 2014-06-12 18:03:40
Message-ID: 1402596229-461-1-git-send-email-colin.king () canonical ! com
[Download RAW message or body]
From: Colin Ian King <colin.king@canonical.com>
Nobody references these two functions outside the test,
so make them static:
acpi_table_check_field, acpi_table_check_field_test
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
src/acpi/acpitables/acpitables.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/acpi/acpitables/acpitables.c b/src/acpi/acpitables/acpitables.c
index 439df2a..1212864 100644
--- a/src/acpi/acpitables/acpitables.c
+++ b/src/acpi/acpitables/acpitables.c
@@ -515,7 +515,7 @@ static int acpi_table_check_test1(fwts_framework *fw)
return FWTS_OK;
}
-bool acpi_table_check_field(const char *field, const size_t len)
+static bool acpi_table_check_field(const char *field, const size_t len)
{
size_t i;
@@ -526,7 +526,7 @@ bool acpi_table_check_field(const char *field, const size_t len)
return true;
}
-bool acpi_table_check_field_test(
+static bool acpi_table_check_field_test(
fwts_framework *fw,
const char *table_name,
const char *field_name,
--
2.0.0
--
fwts-devel mailing list
fwts-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/fwts-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic