From 46f92bb4c29351797740e7fc0f3518a29950dc2d Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Mon, 27 Sep 2021 12:36:27 +0100 Subject: remove implicit extern declarations -- thanks to adc! --- lineset.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'lineset.c') diff --git a/lineset.c b/lineset.c index 595ccba..9e3cc71 100644 --- a/lineset.c +++ b/lineset.c @@ -5,6 +5,22 @@ #include #include "gramscii.h" +/** extern declarations **/ + +extern lineset_t screen; /* what is visualised */ +extern lineset_t cutbuf; /* cut/paste buffer */ +extern lineset_t *undo; /* undo list */ + +extern int undo_sz;/* allocated size of undo list*/ +extern int undo_cur;/* undo position */ +extern int undo_lst;/* last valid undo position */ + +extern int WIDTH, HEIGHT; + +extern char modified; /* set to 1 if screen modified since last save */ + +/****/ + static int LONG_STEP; /* line_t and lineset_t management */ -- cgit v1.2.3