Module Name: src Committed By: enami Date: Tue Aug 31 05:12:35 UTC 2010
Modified Files: src/include: rmt.h src/lib/librmt: rmtlib.c Log Message: Move prototype of isrmt() to rmt.h. It is a public interface described in rmtops(3). To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/include/rmt.h cvs rdiff -u -r1.21 -r1.22 src/lib/librmt/rmtlib.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/include/rmt.h diff -u src/include/rmt.h:1.5 src/include/rmt.h:1.6 --- src/include/rmt.h:1.5 Thu Feb 3 04:39:32 2005 +++ src/include/rmt.h Tue Aug 31 05:12:35 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: rmt.h,v 1.5 2005/02/03 04:39:32 perry Exp $ */ +/* $NetBSD: rmt.h,v 1.6 2010/08/31 05:12:35 enami Exp $ */ /* * rmt.h @@ -20,6 +20,7 @@ #include <sys/cdefs.h> __BEGIN_DECLS +int isrmt(int); int rmtaccess(const char *, int); int rmtclose(int); int rmtcreat(const char *, mode_t); Index: src/lib/librmt/rmtlib.c diff -u src/lib/librmt/rmtlib.c:1.21 src/lib/librmt/rmtlib.c:1.22 --- src/lib/librmt/rmtlib.c:1.21 Sun Mar 19 23:05:50 2006 +++ src/lib/librmt/rmtlib.c Tue Aug 31 05:12:35 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: rmtlib.c,v 1.21 2006/03/19 23:05:50 christos Exp $ */ +/* $NetBSD: rmtlib.c,v 1.22 2010/08/31 05:12:35 enami Exp $ */ /* * rmt --- remote tape emulator subroutines @@ -28,7 +28,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: rmtlib.c,v 1.21 2006/03/19 23:05:50 christos Exp $"); +__RCSID("$NetBSD: rmtlib.c,v 1.22 2010/08/31 05:12:35 enami Exp $"); #define RMTIOCTL 1 /* #define USE_REXEC 1 */ /* rexec code courtesy of Dan Kegel, srs!dan */ @@ -71,8 +71,6 @@ static void rmtabort(int); static int status(int); - int isrmt(int); - #define BUFMAGIC 64 /* a magic number for buffer sizes */ #define MAXUNIT 4