=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/window/Attic/wwdelchar.c,v retrieving revision 1.4 retrieving revision 1.5 diff -c -r1.4 -r1.5 *** src/usr.bin/window/Attic/wwdelchar.c 1997/02/25 00:04:46 1.4 --- src/usr.bin/window/Attic/wwdelchar.c 2001/11/19 19:02:18 1.5 *************** *** 1,4 **** ! /* $OpenBSD: wwdelchar.c,v 1.4 1997/02/25 00:04:46 downsj Exp $ */ /* $NetBSD: wwdelchar.c,v 1.4 1996/02/08 21:49:00 mycroft Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: wwdelchar.c,v 1.5 2001/11/19 19:02:18 mpech Exp $ */ /* $NetBSD: wwdelchar.c,v 1.4 1996/02/08 21:49:00 mycroft Exp $ */ /* *************** *** 41,47 **** #if 0 static char sccsid[] = "@(#)wwdelchar.c 8.1 (Berkeley) 6/6/93"; #else ! static char rcsid[] = "$OpenBSD: wwdelchar.c,v 1.4 1997/02/25 00:04:46 downsj Exp $"; #endif #endif /* not lint */ --- 41,47 ---- #if 0 static char sccsid[] = "@(#)wwdelchar.c 8.1 (Berkeley) 6/6/93"; #else ! static char rcsid[] = "$OpenBSD: wwdelchar.c,v 1.5 2001/11/19 19:02:18 mpech Exp $"; #endif #endif /* not lint */ *************** *** 49,64 **** #include "tt.h" wwdelchar(w, row, col) ! register struct ww *w; { ! register i; int nvis; /* * First, shift the line. */ { ! register union ww_char *p, *q; p = &w->ww_buf[row][col]; q = p + 1; --- 49,64 ---- #include "tt.h" wwdelchar(w, row, col) ! struct ww *w; { ! int i; int nvis; /* * First, shift the line. */ { ! union ww_char *p, *q; p = &w->ww_buf[row][col]; q = p + 1; *************** *** 81,90 **** * Now find out how much is actually changed, and fix wwns. */ { ! register union ww_char *buf; ! register char *win; ! register union ww_char *ns; ! register unsigned char *smap; char touched; nvis = 0; --- 81,90 ---- * Now find out how much is actually changed, and fix wwns. */ { ! union ww_char *buf; ! char *win; ! union ww_char *ns; ! unsigned char *smap; char touched; nvis = 0; *************** *** 118,124 **** * Can/Should we use delete character? */ if (tt.tt_delchar != 0 && nvis > (wwncol - col) / 2) { ! register union ww_char *p, *q; xxdelchar(row, col); p = &wwos[row][col]; --- 118,124 ---- * Can/Should we use delete character? */ if (tt.tt_delchar != 0 && nvis > (wwncol - col) / 2) { ! union ww_char *p, *q; xxdelchar(row, col); p = &wwos[row][col];