=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/less/ch.c,v retrieving revision 1.2 retrieving revision 1.3 diff -c -r1.2 -r1.3 *** src/usr.bin/less/ch.c 2001/01/29 01:58:00 1.2 --- src/usr.bin/less/ch.c 2001/11/19 19:02:14 1.3 *************** *** 1,4 **** ! /* $OpenBSD: ch.c,v 1.2 2001/01/29 01:58:00 niklas Exp $ */ /* * Copyright (c) 1984,1985,1989,1994,1995 Mark Nudelman --- 1,4 ---- ! /* $OpenBSD: ch.c,v 1.3 2001/11/19 19:02:14 mpech Exp $ */ /* * Copyright (c) 1984,1985,1989,1994,1995 Mark Nudelman *************** *** 108,116 **** int fch_get() { ! register struct buf *bp; ! register int n; ! register int slept; POSITION pos; POSITION len; --- 108,116 ---- int fch_get() { ! struct buf *bp; ! int n; ! int slept; POSITION pos; POSITION len; *************** *** 314,320 **** public void sync_logfile() { ! register struct buf *bp; int warned = FALSE; long block; long nblocks; --- 314,320 ---- public void sync_logfile() { ! struct buf *bp; int warned = FALSE; long block; long nblocks; *************** *** 352,358 **** buffered(block) long block; { ! register struct buf *bp; for (bp = ch_bufhead; bp != END_OF_CHAIN; bp = bp->next) if (bp->block == block) --- 352,358 ---- buffered(block) long block; { ! struct buf *bp; for (bp = ch_bufhead; bp != END_OF_CHAIN; bp = bp->next) if (bp->block == block) *************** *** 366,372 **** */ public int ch_seek(pos) ! register POSITION pos; { long new_block; POSITION len; --- 366,372 ---- */ public int ch_seek(pos) ! POSITION pos; { long new_block; POSITION len; *************** *** 429,435 **** public int ch_beg_seek() { ! register struct buf *bp, *firstbp; /* * Try a plain ch_seek first. --- 429,435 ---- public int ch_beg_seek() { ! struct buf *bp, *firstbp; /* * Try a plain ch_seek first. *************** *** 480,486 **** public int ch_forw_get() { ! register int c; c = ch_get(); if (c == EOI) --- 480,486 ---- public int ch_forw_get() { ! int c; c = ch_get(); if (c == EOI) *************** *** 550,556 **** public void ch_flush() { ! register struct buf *bp; if (!(ch_flags & CH_CANSEEK)) { --- 550,556 ---- public void ch_flush() { ! struct buf *bp; if (!(ch_flags & CH_CANSEEK)) { *************** *** 598,604 **** static int ch_addbuf() { ! register struct buf *bp; /* * Allocate and initialize a new buffer and link it --- 598,604 ---- static int ch_addbuf() { ! struct buf *bp; /* * Allocate and initialize a new buffer and link it *************** *** 622,628 **** static void ch_delbufs() { ! register struct buf *bp; while (ch_bufhead != END_OF_CHAIN) { --- 622,628 ---- static void ch_delbufs() { ! struct buf *bp; while (ch_bufhead != END_OF_CHAIN) {