From 8885b60c27b1dcabd1009f684ac2af04473e6d7f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Pinard?= Date: Wed, 16 Nov 1994 02:55:34 +0000 Subject: [PATCH] *** empty log message *** --- src/rtapelib.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/rtapelib.c b/src/rtapelib.c index 887122b..c8a41b8 100644 --- a/src/rtapelib.c +++ b/src/rtapelib.c @@ -52,14 +52,6 @@ extern int errno; #endif -#ifdef HAVE_UNISTD_H -#include -#endif -#ifdef STDC_HEADERS -#include -#include -#endif - /* Maximum size of a fully qualified host name. */ #define MAXHOSTLEN 257 @@ -449,7 +441,7 @@ __rmt_read (fildes, buf, nbyte) for (i = 0; i < rc; i += nbyte, buf += nbyte) { - nbyte = read (READ (fildes), buf, rc - i); + nbyte = read (READ (fildes), buf, rc); if (nbyte <= 0) { _rmt_shutdown (fildes); @@ -513,7 +505,6 @@ __rmt_lseek (fildes, offset, whence) Return the results of the ioctl, or -1 on error. */ #ifdef MTIOCTOP -int __rmt_ioctl (fildes, op, arg) int fildes, op; char *arg; -- 2.44.0