From 973479aa7fc254b887aed5fe6a57935648ee883c Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Thu, 31 May 2018 14:36:27 +0100 Subject: Check on modified files 'q'.Implemented 'W'.more tests.minor fixes --- buff.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'buff.h') diff --git a/buff.h b/buff.h index c23bebe..257db0c 100644 --- a/buff.h +++ b/buff.h @@ -23,7 +23,7 @@ extern line_t *cur; extern int num; extern int pos; extern int addr1, addr2; -extern char *fname; +extern char *fname, mod; extern line_t *marks[26]; @@ -35,7 +35,7 @@ void print_lineno(); void append_lines(); void insert_lines(); void delete_lines(); -int write_lines(); +int write_lines(char); int read_file(); int match(char **, char); int mark(char *c); -- cgit v1.2.3