]> git.wh0rd.org - dump.git/blobdiff - rmt/rmt.c
Copyright notice for Alcôve, for paying me to work on dump...
[dump.git] / rmt / rmt.c
index 590bbc4a840360dd8409236c45d3c907c0f63f37..7d5d29ab939bf06f16388775600d03821c7bbfb3 100644 (file)
--- a/rmt/rmt.c
+++ b/rmt/rmt.c
@@ -2,8 +2,8 @@
  *     Ported to Linux's Second Extended File System as part of the
  *     dump and restore backup suit
  *     Remy Card <card@Linux.EU.Org>, 1994-1997
- *      Stelian Pop <pop@cybercable.fr>, 1999 
- *
+ *     Stelian Pop <pop@cybercable.fr>, 1999-2000
+ *     Stelian Pop <pop@cybercable.fr> - Alcôve <www.alcove.fr>, 2000
  */
 
 /*
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- *
- * $Id: rmt.c,v 1.5 1999/10/11 13:31:14 stelian Exp $
  */
 
+#ifndef lint
+static const char rcsid[] =
+       "$Id: rmt.c,v 1.10 2000/11/10 14:51:42 stelian Exp $";
+#endif /* not linux */
+
 /*
  * rmt
  */
 #include <sys/mtio.h>
 #include <errno.h>
 #include <fcntl.h>
+#ifndef __linux__
 #include <sgtty.h>
+#endif
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
 
-#ifdef __linux__
-#include <linux/ext2_fs.h>
-#include <ext2fs/ext2fs.h>
-#include <bsdcompat.h>
-#endif
-
 int    tape = -1;
 
 char   *record;