From 02e947e7baf0b5fc1d963725f96cf8567d03c521 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 3 Apr 2009 15:45:06 +0100 Subject: [PATCH] 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 --- hw/battery_mgmt.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) { -- 2.39.5