ACK: [PATCH] acpi: fpdt: make variable table static

ivanhu ivan.hu at canonical.com
Thu Feb 2 07:04:39 UTC 2017



On 2017年01月31日 01:15, 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: Ivan Hu <ivan.hu at canonical.com>



More information about the fwts-devel mailing list