diff options
| author | Xin LI <delphij@FreeBSD.org> | 2017-04-29 06:30:21 +0000 |
|---|---|---|
| committer | Xin LI <delphij@FreeBSD.org> | 2017-04-29 06:30:21 +0000 |
| commit | 6f90225e8378d85045013553763bd7483670441c (patch) | |
| tree | 185b77b1a31a3ec3a39749f691ca4a8c273e9e1c /linenum.c | |
| parent | 9c83c2751d26fe2e059d6956f0398b56ed919a6a (diff) | |
Notes
Diffstat (limited to 'linenum.c')
| -rw-r--r-- | linenum.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/linenum.c b/linenum.c index c1a8128f14d1..4e726377e38d 100644 --- a/linenum.c +++ b/linenum.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1984-2016 Mark Nudelman + * Copyright (C) 1984-2017 Mark Nudelman * * You may distribute under the terms of either the GNU General Public * License or the Less License, as specified in the README file. @@ -75,7 +75,7 @@ extern int screen_trashed; public void clr_linenum() { - register struct linenum_info *p; + struct linenum_info *p; /* * Put all the entries on the free list. @@ -102,7 +102,7 @@ clr_linenum() */ static void calcgap(p) - register struct linenum_info *p; + struct linenum_info *p; { /* * Don't bother to compute a gap for the anchor. @@ -125,11 +125,11 @@ add_lnum(linenum, pos) LINENUM linenum; POSITION pos; { - register struct linenum_info *p; - register struct linenum_info *new; - register struct linenum_info *nextp; - register struct linenum_info *prevp; - register POSITION mingap; + struct linenum_info *p; + struct linenum_info *new; + struct linenum_info *nextp; + struct linenum_info *prevp; + POSITION mingap; /* * Find the proper place in the list for the new one. @@ -265,8 +265,8 @@ abort_long() find_linenum(pos) POSITION pos; { - register struct linenum_info *p; - register LINENUM linenum; + struct linenum_info *p; + LINENUM linenum; POSITION cpos; if (!linenums) @@ -380,7 +380,7 @@ find_linenum(pos) find_pos(linenum) LINENUM linenum; { - register struct linenum_info *p; + struct linenum_info *p; POSITION cpos; LINENUM clinenum; |
