ACK: [PATCH] acpi: fpdt: make variable table static
Alex Hung
alex.hung at canonical.com
Fri Feb 3 03:25:14 UTC 2017
On 2017-01-31 01:15 AM, Colin King wrote:
> 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)
> {
>
Acked-by: Alex Hung <alex.hung at canonical.com>
More information about the fwts-devel
mailing list