X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=changer-src%2Fscsi-proto.c;h=4c53d17619173ad1d380853743a28977f26f4ed0;hb=d5853102f67d85d8e169f9dbe973ad573306c215;hp=7aa6f865adee7e2419a9d1ca1a195c70b80bf3f0;hpb=3ab887b9bc819a846c75dd7f2ee5d41fac22b19f;p=debian%2Famanda diff --git a/changer-src/scsi-proto.c b/changer-src/scsi-proto.c index 7aa6f86..4c53d17 100644 --- a/changer-src/scsi-proto.c +++ b/changer-src/scsi-proto.c @@ -1,5 +1,5 @@ /* - * $Id: scsi-proto.c,v 1.3 1998/06/13 06:13:25 oliva Exp $ + * $Id: scsi-proto.c,v 1.4 2006/05/25 01:47:10 johnfranks Exp $ * * scsi-proto.c -- library routines to handle the changer * Prototype file for customization @@ -15,8 +15,6 @@ #include "amanda.h" #include "libscsi.h" -#if defined(PROTO_H) - char *modname = "@(#)" __FILE__ ": SCSI support library for the proto scsi interface @(#)"; @@ -55,7 +53,7 @@ void eject_tape(char *tape) /* * find the first empty slot */ -int find_empty(int fd) +int find_empty( int fd, int start, int end) { /* * find an empty slot to insert a tape into (if required) @@ -124,5 +122,3 @@ int get_drive_count(int fd) */ return number_of_data-transfer_devices; } - -#endif