]> xenbits.xen.org Git - xenclient/ioemu.git/commitdiff
hw/battery_mgmt.c: remove some spurious externs
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 3 Apr 2009 14:45:06 +0000 (15:45 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 3 Apr 2009 14:45:06 +0000 (15:45 +0100)
Declarations of objects with external linkage should appear only in
header files.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
hw/battery_mgmt.c

index 0cce054fec984a2e00c09fdf870ca203344bf86c..3ddeb09f3cf8af15f4a488e9a118f6f35aaab568 100644 (file)
@@ -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)
 {