From: Ian Jackson Date: Fri, 3 Apr 2009 14:45:06 +0000 (+0100) Subject: hw/battery_mgmt.c: remove some spurious externs X-Git-Tag: xen-3.4.0-rc2~8 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=02e947e7baf0b5fc1d963725f96cf8567d03c521;p=qemu-xen-4.0-testing.git hw/battery_mgmt.c: remove some spurious externs Declarations of objects with external linkage should appear only in header files. Signed-off-by: Ian Jackson --- diff --git a/hw/battery_mgmt.c b/hw/battery_mgmt.c index 0cce054f..3ddeb09f 100644 --- a/hw/battery_mgmt.c +++ b/hw/battery_mgmt.c @@ -29,6 +29,7 @@ #include "hw.h" #include "pc.h" #include "qemu-xen.h" +#include "qemu-log.h" #include "isa.h" //register_ioport_read declaration #include "battery_mgmt.h" @@ -58,8 +59,6 @@ static enum POWER_MGMT_MODE power_mgmt_mode = PM_MODE_NONE; static battery_state_info battery_info; -extern FILE *logfile; -extern int domid; int is_battery_pt_feasible(void) {