aboutsummaryrefslogtreecommitdiff
path: root/linenum.c
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2019-06-29 04:39:01 +0000
committerXin LI <delphij@FreeBSD.org>2019-06-29 04:39:01 +0000
commit6aa86b45318b321ba7e9cc3c221ab9062ddac4a0 (patch)
treeed38a1d35ad0e927ec1b5282deedc86014f9181d /linenum.c
parentb04073e3aef4b6c7e7d2755a7bbc098e5f2a03f8 (diff)
Diffstat (limited to 'linenum.c')
-rw-r--r--linenum.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/linenum.c b/linenum.c
index 4e726377e38d..6a5560b627df 100644
--- a/linenum.c
+++ b/linenum.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 1984-2017 Mark Nudelman
+ * Copyright (C) 1984-2019 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.
@@ -73,7 +73,7 @@ extern int screen_trashed;
* Initialize the line number structures.
*/
public void
-clr_linenum()
+clr_linenum(VOID_PARAM)
{
struct linenum_info *p;
@@ -209,7 +209,7 @@ add_lnum(linenum, pos)
* line number, print a message to tell the user what we're doing.
*/
static void
-longloopmessage()
+longloopmessage(VOID_PARAM)
{
ierror("Calculating line numbers", NULL_PARG);
}
@@ -220,7 +220,7 @@ static time_type startime;
#endif
static void
-longish()
+longish(VOID_PARAM)
{
#if HAVE_TIME
if (loopcount >= 0 && ++loopcount > 100)
@@ -246,7 +246,7 @@ longish()
* a lengthy line number calculation.
*/
static void
-abort_long()
+abort_long(VOID_PARAM)
{
if (linenums == OPT_ONPLUS)
/*