summaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'input.c')
-rw-r--r--input.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/input.c b/input.c
index b9e5de931b1b5..26ab7c022a650 100644
--- a/input.c
+++ b/input.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 1984-2015 Mark Nudelman
+ * Copyright (C) 1984-2016 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.
@@ -42,11 +42,12 @@ extern int size_linebuf;
* of the NEXT line. The line obtained is the line starting at curr_pos.
*/
public POSITION
-forw_line(POSITION curr_pos)
+forw_line(curr_pos)
+ POSITION curr_pos;
{
POSITION base_pos;
POSITION new_pos;
- int c;
+ register int c;
int blankline;
int endline;
int backchars;
@@ -248,7 +249,8 @@ get_forw_line:
* of the PREVIOUS line. The line obtained is the one starting at new_pos.
*/
public POSITION
-back_line(POSITION curr_pos)
+back_line(curr_pos)
+ POSITION curr_pos;
{
POSITION new_pos, begin_new_pos, base_pos;
int c;
@@ -427,7 +429,8 @@ get_back_line:
* Set attnpos.
*/
public void
-set_attnpos(POSITION pos)
+set_attnpos(pos)
+ POSITION pos;
{
int c;