=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/window/Attic/wwgets.c,v retrieving revision 1.4 retrieving revision 1.5 diff -c -r1.4 -r1.5 *** src/usr.bin/window/Attic/wwgets.c 1997/02/25 00:04:54 1.4 --- src/usr.bin/window/Attic/wwgets.c 2001/11/19 19:02:18 1.5 *************** *** 1,4 **** ! /* $OpenBSD: wwgets.c,v 1.4 1997/02/25 00:04:54 downsj Exp $ */ /* $NetBSD: wwgets.c,v 1.6 1996/02/08 20:45:08 mycroft Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: wwgets.c,v 1.5 2001/11/19 19:02:18 mpech Exp $ */ /* $NetBSD: wwgets.c,v 1.6 1996/02/08 20:45:08 mycroft Exp $ */ /* *************** *** 41,47 **** #if 0 static char sccsid[] = "@(#)wwgets.c 8.1 (Berkeley) 6/6/93"; #else ! static char rcsid[] = "$OpenBSD: wwgets.c,v 1.4 1997/02/25 00:04:54 downsj Exp $"; #endif #endif /* not lint */ --- 41,47 ---- #if 0 static char sccsid[] = "@(#)wwgets.c 8.1 (Berkeley) 6/6/93"; #else ! static char rcsid[] = "$OpenBSD: wwgets.c,v 1.5 2001/11/19 19:02:18 mpech Exp $"; #endif #endif /* not lint */ *************** *** 52,61 **** wwgets(buf, n, w) char *buf; int n; ! register struct ww *w; { ! register char *p = buf; ! register int c; int uc = ISSET(w->ww_wflags, WWW_UNCTRL); static void rub(); --- 52,61 ---- wwgets(buf, n, w) char *buf; int n; ! struct ww *w; { ! char *p = buf; ! int c; int uc = ISSET(w->ww_wflags, WWW_UNCTRL); static void rub(); *************** *** 110,116 **** rub(c, w) struct ww *w; { ! register i; for (i = strlen(unctrl(c)); --i >= 0;) (void) wwwrite(w, "\b \b", 3); --- 110,116 ---- rub(c, w) struct ww *w; { ! int i; for (i = strlen(unctrl(c)); --i >= 0;) (void) wwwrite(w, "\b \b", 3);