diff options
Diffstat (limited to 'bin/ed')
-rw-r--r-- | bin/ed/ed.h | 2 | ||||
-rw-r--r-- | bin/ed/main.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/bin/ed/ed.h b/bin/ed/ed.h index 1a03bb1..aaa63f9 100644 --- a/bin/ed/ed.h +++ b/bin/ed/ed.h @@ -270,3 +270,5 @@ extern const char *errmsg; extern long first_addr; extern int lineno; extern long second_addr; +extern long u_addr_last; +extern long u_current_addr; diff --git a/bin/ed/main.c b/bin/ed/main.c index 54a5a35..13e0b8a 100644 --- a/bin/ed/main.c +++ b/bin/ed/main.c @@ -449,9 +449,6 @@ long rows = 22; /* scroll length: ws_row - 2 */ int exec_command(void) { - extern long u_current_addr; - extern long u_addr_last; - static pattern_t *pat = NULL; static int sgflag = 0; static long sgnum = 0; |