Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Move prototype of isrmt() to rmt.h. It is a public interface
details: https://anonhg.NetBSD.org/src/rev/a7c7dd59f655
branches: trunk
changeset: 757466:a7c7dd59f655
user: enami <enami%NetBSD.org@localhost>
date: Tue Aug 31 05:12:35 2010 +0000
description:
Move prototype of isrmt() to rmt.h. It is a public interface
described in rmtops(3).
diffstat:
include/rmt.h | 3 ++-
lib/librmt/rmtlib.c | 6 ++----
2 files changed, 4 insertions(+), 5 deletions(-)
diffs (44 lines):
diff -r 3f6368ac202d -r a7c7dd59f655 include/rmt.h
--- a/include/rmt.h Tue Aug 31 05:07:09 2010 +0000
+++ b/include/rmt.h Tue Aug 31 05:12:35 2010 +0000
@@ -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);
diff -r 3f6368ac202d -r a7c7dd59f655 lib/librmt/rmtlib.c
--- a/lib/librmt/rmtlib.c Tue Aug 31 05:07:09 2010 +0000
+++ b/lib/librmt/rmtlib.c Tue Aug 31 05:12:35 2010 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index