=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/window/Attic/xx.c,v retrieving revision 1.4 retrieving revision 1.5 diff -c -r1.4 -r1.5 *** src/usr.bin/window/Attic/xx.c 1998/04/26 22:49:10 1.4 --- src/usr.bin/window/Attic/xx.c 2001/11/19 19:02:18 1.5 *************** *** 1,4 **** ! /* $OpenBSD: xx.c,v 1.4 1998/04/26 22:49:10 millert Exp $ */ /* $NetBSD: xx.c,v 1.3 1995/09/28 10:36:03 tls Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: xx.c,v 1.5 2001/11/19 19:02:18 mpech Exp $ */ /* $NetBSD: xx.c,v 1.3 1995/09/28 10:36:03 tls Exp $ */ /* *************** *** 41,47 **** #if 0 static char sccsid[] = "@(#)xx.c 8.1 (Berkeley) 6/6/93"; #else ! static char rcsid[] = "$OpenBSD: xx.c,v 1.4 1998/04/26 22:49:10 millert Exp $"; #endif #endif /* not lint */ --- 41,47 ---- #if 0 static char sccsid[] = "@(#)xx.c 8.1 (Berkeley) 6/6/93"; #else ! static char rcsid[] = "$OpenBSD: xx.c,v 1.5 2001/11/19 19:02:18 mpech Exp $"; #endif #endif /* not lint */ *************** *** 86,92 **** xxreset1() { ! register struct xx *xp, *xq; for (xp = xx_head; xp != 0; xp = xq) { xq = xp->link; --- 86,92 ---- xxreset1() { ! struct xx *xp, *xq; for (xp = xx_head; xp != 0; xp = xq) { xq = xp->link; *************** *** 115,121 **** struct xx * xxalloc() { ! register struct xx *xp; if (xxbufp > xxbufe) abort(); --- 115,121 ---- struct xx * xxalloc() { ! struct xx *xp; if (xxbufp > xxbufe) abort(); *************** *** 134,140 **** } xxfree(xp) ! register struct xx *xp; { xp->link = xx_freelist; xx_freelist = xp; --- 134,140 ---- } xxfree(xp) ! struct xx *xp; { xp->link = xx_freelist; xx_freelist = xp; *************** *** 142,148 **** xxmove(row, col) { ! register struct xx *xp = xx_tail; if (xp == 0 || xp->cmd != xc_move) { xp = xxalloc(); --- 142,148 ---- xxmove(row, col) { ! struct xx *xp = xx_tail; if (xp == 0 || xp->cmd != xc_move) { xp = xxalloc(); *************** *** 154,160 **** xxscroll(dir, top, bot) { ! register struct xx *xp = xx_tail; if (xp != 0 && xp->cmd == xc_scroll && xp->arg1 == top && xp->arg2 == bot && --- 154,160 ---- xxscroll(dir, top, bot) { ! struct xx *xp = xx_tail; if (xp != 0 && xp->cmd == xc_scroll && xp->arg1 == top && xp->arg2 == bot && *************** *** 171,177 **** xxinschar(row, col, c, m) { ! register struct xx *xp; xp = xxalloc(); xp->cmd = xc_inschar; --- 171,177 ---- xxinschar(row, col, c, m) { ! struct xx *xp; xp = xxalloc(); xp->cmd = xc_inschar; *************** *** 183,189 **** xxinsspace(row, col) { ! register struct xx *xp = xx_tail; if (xp != 0 && xp->cmd == xc_insspace && xp->arg0 == row && col >= xp->arg1 && col <= xp->arg1 + xp->arg2) { --- 183,189 ---- xxinsspace(row, col) { ! struct xx *xp = xx_tail; if (xp != 0 && xp->cmd == xc_insspace && xp->arg0 == row && col >= xp->arg1 && col <= xp->arg1 + xp->arg2) { *************** *** 199,205 **** xxdelchar(row, col) { ! register struct xx *xp = xx_tail; if (xp != 0 && xp->cmd == xc_delchar && xp->arg0 == row && xp->arg1 == col) { --- 199,205 ---- xxdelchar(row, col) { ! struct xx *xp = xx_tail; if (xp != 0 && xp->cmd == xc_delchar && xp->arg0 == row && xp->arg1 == col) { *************** *** 215,221 **** xxclear() { ! register struct xx *xp; xxreset1(); xp = xxalloc(); --- 215,221 ---- xxclear() { ! struct xx *xp; xxreset1(); xp = xxalloc(); *************** *** 224,230 **** xxclreos(row, col) { ! register struct xx *xp = xxalloc(); xp->cmd = xc_clreos; xp->arg0 = row; --- 224,230 ---- xxclreos(row, col) { ! struct xx *xp = xxalloc(); xp->cmd = xc_clreos; xp->arg0 = row; *************** *** 233,239 **** xxclreol(row, col) { ! register struct xx *xp = xxalloc(); xp->cmd = xc_clreol; xp->arg0 = row; --- 233,239 ---- xxclreol(row, col) { ! struct xx *xp = xxalloc(); xp->cmd = xc_clreol; xp->arg0 = row; *************** *** 243,249 **** xxwrite(row, col, p, n, m) char *p; { ! register struct xx *xp; if (xxbufp + n + 1 > xxbufe) xxflush(0); --- 243,249 ---- xxwrite(row, col, p, n, m) char *p; { ! struct xx *xp; if (xxbufp + n + 1 > xxbufe) xxflush(0);