diff options
author | Markus Armbruster <armbru@redhat.com> | 2010-06-02 18:55:22 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2010-06-15 09:41:59 +0200 |
commit | 349cc9dcebd430dedaad18a376717e72a41f8544 (patch) | |
tree | 078a229e544ab9a5a715893bfec0ff4d3ba6a100 /blockdev.h | |
parent | 60e2f7b20b7492ce96a82ffefc1ffbc71ca6f017 (diff) | |
download | qemu-349cc9dcebd430dedaad18a376717e72a41f8544.tar.gz qemu-349cc9dcebd430dedaad18a376717e72a41f8544.tar.bz2 qemu-349cc9dcebd430dedaad18a376717e72a41f8544.zip |
blockdev: Give drives internal linkage
This is the list of drives defined with drive_init(). Hide it, so it
doesn't get abused.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'blockdev.h')
-rw-r--r-- | blockdev.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/blockdev.h b/blockdev.h index 9e8a7fca27..23ea5764a7 100644 --- a/blockdev.h +++ b/blockdev.h @@ -36,8 +36,6 @@ typedef struct DriveInfo { #define MAX_IDE_DEVS 2 #define MAX_SCSI_DEVS 7 -extern QTAILQ_HEAD(drivelist, DriveInfo) drives; - extern DriveInfo *drive_get(BlockInterfaceType type, int bus, int unit); extern DriveInfo *drive_get_by_id(const char *id); extern int drive_get_max_bus(BlockInterfaceType type); |