Message ID | 20170130171502.6507-1-colin.king@canonical.com |
---|---|
State | Accepted |
Headers | show |
On 2017年01月31日 01:15, Colin King wrote: > From: Colin Ian King <colin.king@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@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@canonical.com>
On 2017-01-31 01:15 AM, Colin King wrote: > From: Colin Ian King <colin.king@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@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@canonical.com>
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) {