Having laid all the groundwork, we can now remove the global `cfg'
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 12 Jan 2003 15:32:31 +0000 (15:32 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 12 Jan 2003 15:32:31 +0000 (15:32 +0000)
commit3ea863a3e893904b45674642afb3146bec8ce7e4
tree8e622c22e6613676ac19c17f0c95f502231c0b17
parente8fa8f62da443bfc89c416d3eeafcde69c8c6403
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.

git-svn-id: svn://svn.tartarus.org/sgt/putty@2568 cda61777-01e9-0310-a592-d414129be87e
plink.c
psftp.c
putty.h
scp.c
unix/pterm.c
unix/uxplink.c
windlg.c
window.c