mirror of
https://github.com/acpica/acpica/
synced 2025-02-26 02:14:33 +03:00
acpidump: Fix a duplicate variable definition
AcpiGbl_IntegerByteWidth has already been instantiated by ACPI_GLOBAL() in acglobal.h. Lv Zheng. Signed-off-by: Lv Zheng <lv.zheng@intel.com>
This commit is contained in:
parent
a33ba9f856
commit
fe92a821a0
@ -139,12 +139,6 @@ EXTERN ACPI_FILE INIT_GLOBAL (Gbl_OutputFile, NULL);
|
||||
EXTERN char INIT_GLOBAL (*Gbl_OutputFilename, NULL);
|
||||
EXTERN UINT64 INIT_GLOBAL (Gbl_RsdpBase, 0);
|
||||
|
||||
/* Globals required for use with ACPICA modules */
|
||||
|
||||
#ifdef _DECLARE_GLOBALS
|
||||
UINT8 AcpiGbl_IntegerByteWidth = 8;
|
||||
#endif
|
||||
|
||||
/* Action table used to defer requested options */
|
||||
|
||||
typedef struct ap_dump_action
|
||||
|
@ -427,6 +427,7 @@ acpi_main (
|
||||
ACPI_DEBUG_INITIALIZE (); /* For debug version only */
|
||||
AcpiOsInitialize ();
|
||||
Gbl_OutputFile = ACPI_FILE_OUT;
|
||||
AcpiGbl_IntegerByteWidth = 8;
|
||||
|
||||
/* Process command line options */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user