summaryrefslogtreecommitdiff
path: root/edit.c
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2017-04-29 06:30:21 +0000
committerXin LI <delphij@FreeBSD.org>2017-04-29 06:30:21 +0000
commit6f90225e8378d85045013553763bd7483670441c (patch)
tree185b77b1a31a3ec3a39749f691ca4a8c273e9e1c /edit.c
parent9c83c2751d26fe2e059d6956f0398b56ed919a6a (diff)
Notes
Diffstat (limited to 'edit.c')
-rw-r--r--edit.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/edit.c b/edit.c
index c508f94aaf02..f2a74a049200 100644
--- a/edit.c
+++ b/edit.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 1984-2016 Mark Nudelman
+ * Copyright (C) 1984-2017 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.
@@ -26,7 +26,7 @@ extern int sigs;
extern IFILE curr_ifile;
extern IFILE old_ifile;
extern struct scrpos initial_scrpos;
-extern void constant *ml_examine;
+extern void *ml_examine;
#if SPACES_IN_FILENAMES
extern char openquote;
extern char closequote;
@@ -716,7 +716,7 @@ edit_stdin()
public void
cat_file()
{
- register int c;
+ int c;
while ((c = ch_forw_get()) != EOI)
putchr(c);
@@ -734,8 +734,8 @@ cat_file()
use_logfile(filename)
char *filename;
{
- register int exists;
- register int answer;
+ int exists;
+ int answer;
PARG parg;
if (ch_getflags() & CH_CANSEEK)