diff options
author | Xin LI <delphij@FreeBSD.org> | 2017-04-25 03:28:38 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2017-04-25 03:28:38 +0000 |
commit | 1cabeb1f0c93e44ebc8a1d3a78100a962ac3f047 (patch) | |
tree | 16ac99cc7e82435551416b750a3017a6b3a2d986 /input.c | |
parent | 59d1fa4298584d1670edf26ee475b9b8f6a1c7bc (diff) |
Notes
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -42,12 +42,11 @@ extern int size_linebuf; * of the NEXT line. The line obtained is the line starting at curr_pos. */ public POSITION -forw_line(curr_pos) - POSITION curr_pos; +forw_line(POSITION curr_pos) { POSITION base_pos; POSITION new_pos; - register int c; + int c; int blankline; int endline; int backchars; @@ -249,8 +248,7 @@ get_forw_line: * of the PREVIOUS line. The line obtained is the one starting at new_pos. */ public POSITION -back_line(curr_pos) - POSITION curr_pos; +back_line(POSITION curr_pos) { POSITION new_pos, begin_new_pos, base_pos; int c; @@ -429,8 +427,7 @@ get_back_line: * Set attnpos. */ public void -set_attnpos(pos) - POSITION pos; +set_attnpos(POSITION pos) { int c; |