1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-02 03:52:49 -05:00

Having laid all the groundwork, we can now remove the global `cfg'

completely from putty.h. It's now static in each of the command-line
front ends, shared only between window.c and windlg.c in PuTTY
proper (I've tested this by doing #define cfg cfgsillyname in those
two files only, and it still links so nobody else is using that
symbol!), and part of the `inst' structure in pterm. I think that
only leaves the Unicode module as the last stubborn holdout in the
anti-global-variables campaign.

[originally from svn r2568]
This commit is contained in:
Simon Tatham
2003-01-12 15:32:31 +00:00
parent 952857fca3
commit 6af1a9e4e9
8 changed files with 161 additions and 155 deletions

View File

@ -122,6 +122,8 @@ static void *backhandle;
static int session_closed;
Config cfg; /* exported to windlg.c */
extern struct sesslist sesslist; /* imported from windlg.c */
#define FONT_NORMAL 0