From c9b62a7ee14f51c9fa473a5bbefe264c904613ee Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Wed, 2 Jun 2010 18:55:22 +0200 Subject: 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 Signed-off-by: Kevin Wolf --- blockdev.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'blockdev.h') diff --git a/blockdev.h b/blockdev.h index 9e8a7fc..23ea576 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); -- cgit v1.1