summaryrefslogtreecommitdiffstats
path: root/sysemu.h
diff options
context:
space:
mode:
authorblueswir12008-05-10 12:14:22 +0200
committerblueswir12008-05-10 12:14:22 +0200
commit4d7a0880ca35ea95d30583d137b1558d4dd166bc (patch)
tree139b0c5c9ce80b8b250009aa50d5d0e086622ed7 /sysemu.h
parentFix compiler warnings (diff)
downloadqemu-4d7a0880ca35ea95d30583d137b1558d4dd166bc.tar.gz
qemu-4d7a0880ca35ea95d30583d137b1558d4dd166bc.tar.xz
qemu-4d7a0880ca35ea95d30583d137b1558d4dd166bc.zip
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 9b4480ffe8..a8fd299023 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);