ACK: [PATCH 01/10] acpi: acpitables: make two more functions static
IvanHu
ivan.hu at canonical.com
Mon Jul 14 07:14:23 UTC 2014
On 06/13/2014 02:03 AM, Colin King wrote:
> From: Colin Ian King <colin.king at 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 at 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,
>
Acked-by: Ivan Hu <ivan.hu at canonical.com>
More information about the fwts-devel
mailing list