1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-03-16 12:03:03 -05:00
Simon Tatham 46fc31c062 Move default_protocol and default_port into settings.c.
These global variables are only ever used by load_settings, which uses
them to vary the default protocol and port number in the absence of
any specification elsewhere. So there's no real need for them to be
universally accessible via the awkward GLOBAL mechanism: they can be
statics inside settings.c, with accessor functions that can set them.

That was the last GLOBAL in putty.h, so I've removed the definition of
the macro GLOBAL itself as well. There are still some GLOBALs in the
Windows subdirectory, though.
2020-02-02 10:02:10 +00:00
..
2020-01-30 06:40:21 +00:00
2019-03-31 10:35:10 +01:00
2020-01-30 06:40:21 +00:00
2019-10-14 19:42:37 +01:00
2020-01-30 06:40:21 +00:00
2020-01-21 20:24:04 +00:00
2020-01-30 06:40:21 +00:00
2020-01-30 06:40:21 +00:00
2019-10-14 19:42:37 +01:00
2020-01-21 20:24:04 +00:00