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:
parent
506a0b1b77
commit
a4b5f66d93
2
pscp.c
2
pscp.c
@ -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);
|
||||
|
2
psftp.c
2
psftp.c
@ -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;
|
||||
|
||||
/* ------------------------------------------------------------
|
||||
|
@ -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.
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user