summaryrefslogtreecommitdiff
path: root/usr.bin/more/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/more/command.c')
-rw-r--r--usr.bin/more/command.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/more/command.c b/usr.bin/more/command.c
index 8421303e177a..9d8d3f0f6f73 100644
--- a/usr.bin/more/command.c
+++ b/usr.bin/more/command.c
@@ -42,6 +42,8 @@ static char sccsid[] = "@(#)command.c 5.22 (Berkeley) 6/21/92";
#include <less.h>
#include "pathnames.h"
+extern off_t position();
+
#define NO_MCA 0
#define MCA_DONE 1
#define MCA_MORE 2
@@ -154,7 +156,7 @@ prompt()
{
extern int linenums, short_file;
extern char *current_name, *firstsearch, *next_name;
- off_t len, pos, ch_length(), position(), forw_line();
+ off_t len, pos, ch_length(), forw_line();
char pbuf[40];
/*