summaryrefslogtreecommitdiffstats
path: root/bin/ed/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ed/io.c')
-rw-r--r--bin/ed/io.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/bin/ed/io.c b/bin/ed/io.c
index 29c5612..cf2e959 100644
--- a/bin/ed/io.c
+++ b/bin/ed/io.c
@@ -30,9 +30,6 @@ __FBSDID("$FreeBSD$");
#include "ed.h"
-
-extern int scripted;
-
/* read_file: read a named file/pipe into the buffer; return line count */
long
read_file(char *fn, long n)
@@ -58,9 +55,6 @@ read_file(char *fn, long n)
return current_addr - n;
}
-
-extern int des;
-
static char *sbuf; /* file i/o buffer */
static int sbufsz; /* file i/o buffer size */
int newline_added; /* if set, newline appended to input file */
@@ -298,9 +292,6 @@ get_tty_line(void)
#define ESCAPES "\a\b\f\n\r\t\v\\"
#define ESCCHARS "abfnrtv\\"
-extern int rows;
-extern int cols;
-
/* put_tty_line: print text to stdout */
int
put_tty_line(const char *s, int l, long n, int gflag)
OpenPOWER on IntegriCloud