summaryrefslogtreecommitdiffstats
path: root/contrib/less/linenum.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2007-06-04 01:42:54 +0000
committerdelphij <delphij@FreeBSD.org>2007-06-04 01:42:54 +0000
commit7672cb6e48e2ed472cbd72caaa0eb155608a644d (patch)
treeee770081db4ef1d4b6022e0608a222ea35319caa /contrib/less/linenum.c
parent5297f4bc59da861bbe3beb5ee12839fa05e79882 (diff)
downloadFreeBSD-src-7672cb6e48e2ed472cbd72caaa0eb155608a644d.zip
FreeBSD-src-7672cb6e48e2ed472cbd72caaa0eb155608a644d.tar.gz
/home/delphij/m
Diffstat (limited to 'contrib/less/linenum.c')
-rw-r--r--contrib/less/linenum.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/less/linenum.c b/contrib/less/linenum.c
index 686bfad..184306b 100644
--- a/contrib/less/linenum.c
+++ b/contrib/less/linenum.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 1984-2004 Mark Nudelman
+ * Copyright (C) 1984-2007 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.
@@ -314,7 +314,7 @@ find_linenum(pos)
/*
* Allow a signal to abort this loop.
*/
- cpos = forw_raw_line(cpos, (char **)NULL);
+ cpos = forw_raw_line(cpos, (char **)NULL, (int *)NULL);
if (ABORT_SIGS() || cpos == NULL_POSITION)
return (0);
longish();
@@ -343,7 +343,7 @@ find_linenum(pos)
/*
* Allow a signal to abort this loop.
*/
- cpos = back_raw_line(cpos, (char **)NULL);
+ cpos = back_raw_line(cpos, (char **)NULL, (int *)NULL);
if (ABORT_SIGS() || cpos == NULL_POSITION)
return (0);
longish();
@@ -398,7 +398,7 @@ find_pos(linenum)
/*
* Allow a signal to abort this loop.
*/
- cpos = forw_raw_line(cpos, (char **)NULL);
+ cpos = forw_raw_line(cpos, (char **)NULL, (int *)NULL);
if (ABORT_SIGS() || cpos == NULL_POSITION)
return (NULL_POSITION);
}
@@ -414,7 +414,7 @@ find_pos(linenum)
/*
* Allow a signal to abort this loop.
*/
- cpos = back_raw_line(cpos, (char **)NULL);
+ cpos = back_raw_line(cpos, (char **)NULL, (int *)NULL);
if (ABORT_SIGS() || cpos == NULL_POSITION)
return (NULL_POSITION);
}
OpenPOWER on IntegriCloud