aboutsummaryrefslogtreecommitdiff
path: root/sysemu.h
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-10 10:14:22 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-10 10:14:22 +0000
commit4d7a0880ca35ea95d30583d137b1558d4dd166bc (patch)
tree139b0c5c9ce80b8b250009aa50d5d0e086622ed7 /sysemu.h
parent22548760ca36e3c9c716bf725194a846d1073855 (diff)
downloadqemu-4d7a0880ca35ea95d30583d137b1558d4dd166bc.zip
qemu-4d7a0880ca35ea95d30583d137b1558d4dd166bc.tar.gz
qemu-4d7a0880ca35ea95d30583d137b1558d4dd166bc.tar.bz2
Fix compiler warnings in common files
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4405 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'sysemu.h')
-rw-r--r--sysemu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysemu.h b/sysemu.h
index 9b4480f..a8fd299 100644
--- a/sysemu.h
+++ b/sysemu.h
@@ -130,8 +130,8 @@ typedef struct DriveInfo {
#define MAX_SCSI_DEVS 7
#define MAX_DRIVES 32
-int nb_drives;
-DriveInfo drives_table[MAX_DRIVES+1];
+extern int nb_drives;
+extern DriveInfo drives_table[MAX_DRIVES+1];
extern int drive_get_index(BlockInterfaceType type, int bus, int unit);
extern int drive_get_max_bus(BlockInterfaceType type);