we use /var/lib/dumpdates, *not* /etc/dumpdates
[debian/amanda] / changer-src / scsi-proto.c
index 7aa6f865adee7e2419a9d1ca1a195c70b80bf3f0..4c53d17619173ad1d380853743a28977f26f4ed0 100644 (file)
@@ -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