summaryrefslogtreecommitdiff
path: root/usr.bin/tip/tip.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-04-20 06:19:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-04-20 06:19:34 +0000
commit5daa6db7ab63cc9df88473a4abb42ce1bc850645 (patch)
treee074564516af0e28061420a7351bcbda968eb763 /usr.bin/tip/tip.c
parent903fcf4bb173dbcd52d1b9c986dec579030668b9 (diff)
avoid naming something pwrite()
Diffstat (limited to 'usr.bin/tip/tip.c')
-rw-r--r--usr.bin/tip/tip.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/tip/tip.c b/usr.bin/tip/tip.c
index 0944a58b6f1..53afe0d08a8 100644
--- a/usr.bin/tip/tip.c
+++ b/usr.bin/tip/tip.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tip.c,v 1.10 2000/01/09 05:38:47 jason Exp $ */
+/* $OpenBSD: tip.c,v 1.11 2000/04/20 06:19:33 deraadt Exp $ */
/* $NetBSD: tip.c,v 1.13 1997/04/20 00:03:05 mellon Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)tip.c 8.1 (Berkeley) 6/6/93";
#endif
-static char rcsid[] = "$OpenBSD: tip.c,v 1.10 2000/01/09 05:38:47 jason Exp $";
+static char rcsid[] = "$OpenBSD: tip.c,v 1.11 2000/04/20 06:19:33 deraadt Exp $";
#endif /* not lint */
/*
@@ -395,7 +395,7 @@ tipin()
continue;
} else if (gch == '\r') {
bol = 1;
- pwrite(FD, &gch, 1);
+ parwrite(FD, &gch, 1);
if (boolean(value(HALFDUPLEX)))
printf("\r\n");
continue;
@@ -404,7 +404,7 @@ tipin()
bol = any(gch, value(EOL));
if (boolean(value(RAISE)) && islower(gch))
gch = toupper(gch);
- pwrite(FD, &gch, 1);
+ parwrite(FD, &gch, 1);
if (boolean(value(HALFDUPLEX)))
printf("%c", gch);
}
@@ -434,7 +434,7 @@ escape()
}
/* ESCAPE ESCAPE forces ESCAPE */
if (c != gch)
- pwrite(FD, &c, 1);
+ parwrite(FD, &c, 1);
return (gch);
}
@@ -585,7 +585,7 @@ static char partab[0200];
* with the right parity and output it.
*/
void
-pwrite(fd, buf, n)
+parwrite(fd, buf, n)
int fd;
char *buf;
register int n;