Move some globals into gui.c

This commit is contained in:
Chris Young 2016-06-02 00:03:45 +01:00
parent a4ed8bf4c9
commit 26acc5d5c7
2 changed files with 11 additions and 6 deletions

View File

@ -173,8 +173,6 @@
#define BOOL_MISMATCH(a,b) (1)
#endif
static bool ami_quit = false;
extern struct gui_utf8_table *amiga_utf8_table;
struct ami_gui_tb_userdata {
@ -183,6 +181,13 @@ struct ami_gui_tb_userdata {
int items;
};
struct MinList *window_list = NULL;
struct Screen *scrn = NULL;
struct MsgPort *sport = NULL;
struct gui_window *cur_gw = NULL;
static bool ami_quit = false;
static struct MsgPort *schedulermsgport = NULL;
static struct MsgPort *appport;
static Class *urlStringClass;

View File

@ -170,10 +170,10 @@ struct gui_window
float scale;
};
struct MinList *window_list;
struct Screen *scrn;
struct MsgPort *sport;
struct gui_window *cur_gw;
extern struct MinList *window_list;
extern struct Screen *scrn;
extern struct MsgPort *sport;
extern struct gui_window *cur_gw;
void ami_get_msg(void);
void ami_try_quit(void);