summaryrefslogtreecommitdiff
path: root/buff.h
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2018-04-24 17:09:16 +0100
committerKatolaZ <katolaz@freaknet.org>2018-04-24 17:09:16 +0100
commitd46fc59c8713fdc2805ed613132f5cfabbcca1c2 (patch)
tree25695916cf7e75f0c21e92e79b6e2b7c1d5d4d24 /buff.h
parent2bf7cce2ac5df3a6793c3124da9d7d5639769e04 (diff)
Removed read_lines -- several fixes
Diffstat (limited to 'buff.h')
-rw-r--r--buff.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/buff.h b/buff.h
index f97ed78..7745518 100644
--- a/buff.h
+++ b/buff.h
@@ -20,8 +20,8 @@ typedef struct line_t {
extern line_t *b_start;
extern line_t *b_end;
extern line_t *cur;
-extern unsigned int num;
-extern unsigned int pos;
+extern int num;
+extern int pos;
extern int addr1, addr2;
extern char *fname;
@@ -35,6 +35,7 @@ void append_lines();
void insert_lines();
void delete_lines();
int write_lines();
+int read_file();
#endif /* __BUFF_H__ */