]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Having laid all the groundwork, we can now remove the global `cfg'
authorSimon Tatham <anakin@pobox.com>
Sun, 12 Jan 2003 15:32:31 +0000 (15:32 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 12 Jan 2003 15:32:31 +0000 (15:32 +0000)
commit6af1a9e4e9bdc6aabbb21440204dd6b571ff1af3
tree8e622c22e6613676ac19c17f0c95f502231c0b17
parent952857fca38ee6f3b7307fefebbd766756b2e2e5
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]
plink.c
psftp.c
putty.h
scp.c
unix/pterm.c
unix/uxplink.c
windlg.c
window.c