=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/window/Attic/ttoutput.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- src/usr.bin/window/Attic/ttoutput.c 1997/02/25 00:04:25 1.3 +++ src/usr.bin/window/Attic/ttoutput.c 2001/11/19 19:02:18 1.4 @@ -1,4 +1,4 @@ -/* $OpenBSD: ttoutput.c,v 1.3 1997/02/25 00:04:25 downsj Exp $ */ +/* $OpenBSD: ttoutput.c,v 1.4 2001/11/19 19:02:18 mpech Exp $ */ /* $NetBSD: ttoutput.c,v 1.3 1995/09/28 10:34:51 tls Exp $ */ /* @@ -41,7 +41,7 @@ #if 0 static char sccsid[] = "@(#)ttoutput.c 8.1 (Berkeley) 6/6/93"; #else -static char rcsid[] = "$OpenBSD: ttoutput.c,v 1.3 1997/02/25 00:04:25 downsj Exp $"; +static char rcsid[] = "$OpenBSD: ttoutput.c,v 1.4 2001/11/19 19:02:18 mpech Exp $"; #endif #endif /* not lint */ @@ -56,8 +56,8 @@ ttflush() { - register char *p; - register n = tt_obp - tt_ob; + char *p; + int n = tt_obp - tt_ob; extern errno; if (n == 0) @@ -90,15 +90,15 @@ } ttputs(s) -register char *s; +char *s; { while (*s) ttputc(*s++); } ttwrite(s, n) - register char *s; - register n; + char *s; + int n; { switch (n) { case 0: @@ -138,7 +138,7 @@ break; default: while (n > 0) { - register m; + int m; while ((m = tt_obe - tt_obp) == 0) ttflush();