summaryrefslogtreecommitdiff
path: root/usr.bin/tcopy/tcopy.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-04-16 03:43:57 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-04-16 03:43:57 +0000
commitd3160b248ea1cde4d54a93b629f5ca0514e73d56 (patch)
treed7b31245ba039d7e565e7e9bf97a3d16e1209698 /usr.bin/tcopy/tcopy.c
parentb204c2a507af25640bb5048c34ab1e1dabc01e27 (diff)
<paths.h> now includes _PATH_DEFTAPE. Change rmt0 -> rst0 in man page.
From NetBSD (lukem).
Diffstat (limited to 'usr.bin/tcopy/tcopy.c')
-rw-r--r--usr.bin/tcopy/tcopy.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/usr.bin/tcopy/tcopy.c b/usr.bin/tcopy/tcopy.c
index 631da628f23..bd0575cd036 100644
--- a/usr.bin/tcopy/tcopy.c
+++ b/usr.bin/tcopy/tcopy.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: tcopy.c,v 1.3 1997/01/15 23:43:19 millert Exp $ */
-/* $NetBSD: tcopy.c,v 1.4 1995/08/31 22:17:24 jtc Exp $ */
+/* $OpenBSD: tcopy.c,v 1.4 1997/04/16 03:43:56 millert Exp $ */
+/* $NetBSD: tcopy.c,v 1.5 1997/04/15 07:23:08 lukem Exp $ */
/*
* Copyright (c) 1985, 1987, 1993, 1995
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)tcopy.c 8.3 (Berkeley) 1/23/95";
#endif
-static char rcsid[] = "$OpenBSD: tcopy.c,v 1.3 1997/01/15 23:43:19 millert Exp $";
+static char rcsid[] = "$OpenBSD: tcopy.c,v 1.4 1997/04/16 03:43:56 millert Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -55,14 +55,13 @@ static char rcsid[] = "$OpenBSD: tcopy.c,v 1.3 1997/01/15 23:43:19 millert Exp $
#include <err.h>
#include <errno.h>
#include <fcntl.h>
+#include <paths.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include "pathnames.h"
-
#define MAXREC (64 * 1024)
#define NOCOUNT (-2)