summaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2017-04-25 03:28:38 +0000
committerXin LI <delphij@FreeBSD.org>2017-04-25 03:28:38 +0000
commit1cabeb1f0c93e44ebc8a1d3a78100a962ac3f047 (patch)
tree16ac99cc7e82435551416b750a3017a6b3a2d986 /input.c
parent59d1fa4298584d1670edf26ee475b9b8f6a1c7bc (diff)
Notes
Diffstat (limited to 'input.c')
-rw-r--r--input.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/input.c b/input.c
index 9419a02711b5..b9e5de931b1b 100644
--- a/input.c
+++ b/input.c
@@ -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;