1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Remove 'static' qualifier from Conf pointer

Configuration pointer is globally visible from winstuff.h, so it cannot
be 'static' any longer.
This commit is contained in:
Pavel I. Kryukov 2018-11-03 21:20:40 +03:00 committed by Simon Tatham
parent 506a0b1b77
commit a4b5f66d93
4 changed files with 4 additions and 4 deletions

2
pscp.c
View File

@ -43,7 +43,7 @@ static bool using_sftp = false;
static bool uploading = false;
static Backend *backend;
static Conf *conf;
Conf *conf;
bool sent_eof = false;
static void source(const char *src);

View File

@ -34,7 +34,7 @@ static void do_sftp_cleanup(void);
char *pwd, *homedir;
static Backend *backend;
static Conf *conf;
Conf *conf;
bool sent_eof = false;
/* ------------------------------------------------------------

View File

@ -41,7 +41,7 @@ void cmdline_error(const char *fmt, ...)
static bool local_tty = false; /* do we have a local tty? */
static Backend *backend;
static Conf *conf;
Conf *conf;
/*
* Default settings that are specific to Unix plink.

View File

@ -38,7 +38,7 @@ DWORD orig_console_mode;
WSAEVENT netevent;
static Backend *backend;
static Conf *conf;
Conf *conf;
bool term_ldisc(Terminal *term, int mode)
{