diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-12-17 03:55:57 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-12-17 03:55:57 +0000 |
commit | f60d39bc4d4f0cc7bbbba172b05e24e1c1a36bc3 (patch) | |
tree | c508051d5a310897dd2862a70ae8cbb33ee460fd /sysemu.h | |
parent | 0300e3faf6d3ca039b28af8c8a4e002ec356e7f6 (diff) |
Fix compilation with Cygwin, by Herve Poussineau.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3831 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'sysemu.h')
-rw-r--r-- | sysemu.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -122,7 +122,7 @@ typedef enum { typedef struct DriveInfo { BlockDriverState *bdrv; - BlockInterfaceType interface; + BlockInterfaceType type; int bus; int unit; } DriveInfo; @@ -134,8 +134,8 @@ typedef struct DriveInfo { int nb_drives; DriveInfo drives_table[MAX_DRIVES+1]; -extern int drive_get_index(BlockInterfaceType interface, int bus, int unit); -extern int drive_get_max_bus(BlockInterfaceType interface); +extern int drive_get_index(BlockInterfaceType type, int bus, int unit); +extern int drive_get_max_bus(BlockInterfaceType type); /* serial ports */ |