summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-04-16 04:19:10 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-04-16 04:19:10 +0000
commitbb3c985b2123ca11ada92bfbb5f46e9ff4e8059f (patch)
tree765898786726238f356a0b430032216f201a1b1b /sys
parent37a2a2ea4e70e9817d2fece98f2fd0ca3c5af063 (diff)
Use _PATH_DEFTAPE not DEFTAPE in mt(1)
Remove DEFTAPE from <sys/mtio.h> and guard against multiple inclusion.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/mtio.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/sys/sys/mtio.h b/sys/sys/mtio.h
index 36f295bfef0..5eae516624e 100644
--- a/sys/sys/mtio.h
+++ b/sys/sys/mtio.h
@@ -1,5 +1,5 @@
-/* $OpenBSD: mtio.h,v 1.3 1996/04/17 17:05:49 dm Exp $ */
-/* $NetBSD: mtio.h,v 1.12 1995/03/29 22:10:07 briggs Exp $ */
+/* $OpenBSD: mtio.h,v 1.4 1997/04/16 04:19:09 millert Exp $ */
+/* $NetBSD: mtio.h,v 1.14 1997/04/15 06:50:19 lukem Exp $ */
/*
* Copyright (c) 1982, 1986, 1993
@@ -36,6 +36,9 @@
* @(#)mtio.h 8.1 (Berkeley) 6/2/93
*/
+#ifndef _SYS_MTIO_H_
+#define _SYS_MTIO_H_
+
/*
* Structures and definitions for mag tape io control commands
*/
@@ -118,10 +121,6 @@ struct mtget {
#define MTIOCIEOT _IO('m', 3) /* ignore EOT error */
#define MTIOCEEOT _IO('m', 4) /* enable EOT error */
-#ifndef _KERNEL
-#define DEFTAPE "/dev/nrst0"
-#endif
-
#ifdef _KERNEL
/*
* minor device number
@@ -134,4 +133,6 @@ struct mtget {
#define T_1600BPI 010 /* select 1600 bpi */
#define T_6250BPI 020 /* select 6250 bpi */
#define T_BADBPI 030 /* undefined selection */
-#endif
+#endif /* _KERNEL */
+
+#endif /* !_SYS_MTIO_H_ */