All of these variables appear to only be used inside piix4acpi.c Signed-off-by: Simon Horman Index: ioemu-remote/hw/piix4acpi.c =================================================================== --- ioemu-remote/hw/piix4acpi.c 2009-01-02 16:01:54.000000000 +1100 +++ ioemu-remote/hw/piix4acpi.c 2009-01-02 16:28:06.000000000 +1100 @@ -57,7 +57,7 @@ #define ACPI_PHP_SLOT_NUM PHP_SLOT_LEN typedef struct AcpiDeviceState AcpiDeviceState; -AcpiDeviceState *acpi_device_table; +static AcpiDeviceState *acpi_device_table; typedef struct PCIAcpiState { PCIDevice dev; @@ -74,7 +74,7 @@ typedef struct GPEState { } GPEState; -GPEState gpe_state; +static GPEState gpe_state; typedef struct PHPSlots { struct { @@ -83,7 +83,7 @@ typedef struct PHPSlots { uint8_t plug_evt; /* slot|event slot:0-no event;1-1st. event:0-remove;1-add */ } PHPSlots; -PHPSlots php_slots; +static PHPSlots php_slots; int s3_shutdown_flag; static qemu_irq sci_irq; -- -- Simon Horman VA Linux Systems Japan K.K., Sydney, Australia Satellite Office H: www.vergenet.net/~horms/ W: www.valinux.co.jp/en