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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ed/io.c b/bin/ed/io.c
index 63fe10c..29c5612 100644
--- a/bin/ed/io.c
+++ b/bin/ed/io.c
@@ -61,8 +61,8 @@ read_file(char *fn, long n)
extern int des;
-char *sbuf; /* file i/o buffer */
-int sbufsz; /* file i/o buffer size */
+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 */
/* read_stream: read a stream into the editor buffer; return status */
OpenPOWER on IntegriCloud