Loading blockdev.c +1 −1 Original line number Diff line number Diff line Loading @@ -15,7 +15,7 @@ #include "qemu-config.h" #include "sysemu.h" struct drivelist drives = QTAILQ_HEAD_INITIALIZER(drives); static QTAILQ_HEAD(drivelist, DriveInfo) drives = QTAILQ_HEAD_INITIALIZER(drives); QemuOpts *drive_add(const char *file, const char *fmt, ...) { Loading blockdev.h +0 −2 Original line number Diff line number Diff line Loading @@ -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); Loading Loading
blockdev.c +1 −1 Original line number Diff line number Diff line Loading @@ -15,7 +15,7 @@ #include "qemu-config.h" #include "sysemu.h" struct drivelist drives = QTAILQ_HEAD_INITIALIZER(drives); static QTAILQ_HEAD(drivelist, DriveInfo) drives = QTAILQ_HEAD_INITIALIZER(drives); QemuOpts *drive_add(const char *file, const char *fmt, ...) { Loading
blockdev.h +0 −2 Original line number Diff line number Diff line Loading @@ -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); Loading