summaryrefslogtreecommitdiffstats
path: root/usr.bin/tail/read.c
diff options
context:
space:
mode:
authorasmodai <asmodai@FreeBSD.org>2000-12-03 17:05:45 +0000
committerasmodai <asmodai@FreeBSD.org>2000-12-03 17:05:45 +0000
commit2bf21fac098de41135ebf8ecc69f34156cb16ea0 (patch)
tree15f2a975a69996d62500b5abf8134ffd5b2e8c2a /usr.bin/tail/read.c
parentfe7e532f137c892d5df8da7722482478da9e0bae (diff)
downloadFreeBSD-src-2bf21fac098de41135ebf8ecc69f34156cb16ea0.zip
FreeBSD-src-2bf21fac098de41135ebf8ecc69f34156cb16ea0.tar.gz
Remove register keyword usage with prejudice.
Modern compilers are smarter when it comes to allocating register usage.
Diffstat (limited to 'usr.bin/tail/read.c')
-rw-r--r--usr.bin/tail/read.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/tail/read.c b/usr.bin/tail/read.c
index 771191c..c52644a 100644
--- a/usr.bin/tail/read.c
+++ b/usr.bin/tail/read.c
@@ -65,11 +65,11 @@ static const char rcsid[] =
*/
int
bytes(fp, off)
- register FILE *fp;
+ FILE *fp;
off_t off;
{
- register int ch, len, tlen;
- register char *ep, *p, *t;
+ int ch, len, tlen;
+ char *ep, *p, *t;
int wrap;
char *sp;
@@ -133,7 +133,7 @@ bytes(fp, off)
*/
int
lines(fp, off)
- register FILE *fp;
+ FILE *fp;
off_t off;
{
struct {
@@ -141,8 +141,8 @@ lines(fp, off)
u_int len;
char *l;
} *lines;
- register int ch;
- register char *p;
+ int ch;
+ char *p;
int blen, cnt, recno, wrap;
char *sp;
OpenPOWER on IntegriCloud