The variable is now only used inside biostables.c, there's no need to make it global.
Signed-off-by: Eduardo Habkost ehabkost@redhat.com --- src/util.h | 1 - src/fw/biostables.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/util.h b/src/util.h index 2e151752..aff8e888 100644 --- a/src/util.h +++ b/src/util.h @@ -87,7 +87,6 @@ void *find_acpi_table(u32 signature); u32 find_resume_vector(void); void acpi_reboot(void); void find_acpi_features(void); -extern struct smbios_21_entry_point *SMBios21Addr; void *smbios_get_tables(u32 *length); void copy_smbios_21(void *pos); void display_uuid(void); diff --git a/src/fw/biostables.c b/src/fw/biostables.c index 10eaa369..47463be9 100644 --- a/src/fw/biostables.c +++ b/src/fw/biostables.c @@ -296,7 +296,7 @@ smbios_21_next(struct smbios_21_entry_point *smbios, void *prev) smbios->structure_table_length, prev); }
-struct smbios_21_entry_point *SMBios21Addr; +static struct smbios_21_entry_point *SMBios21Addr;
void copy_smbios_21(void *pos)