mirror of
https://github.com/curl/curl.git
synced 2025-01-30 14:22:33 +08:00
tests/tftpd+mqttd: make variables static to silence picky warnings
Closes #11594
This commit is contained in:
parent
c71ce0007e
commit
03eba3c8b2
@ -119,8 +119,8 @@ static struct configurable config;
|
||||
|
||||
const char *serverlogfile = DEFAULT_LOGFILE;
|
||||
static const char *configfile = DEFAULT_CONFIG;
|
||||
const char *logdir = "log";
|
||||
char loglockfile[256];
|
||||
static const char *logdir = "log";
|
||||
static char loglockfile[256];
|
||||
|
||||
#ifdef ENABLE_IPV6
|
||||
static bool use_ipv6 = FALSE;
|
||||
|
@ -214,9 +214,9 @@ static bool use_ipv6 = FALSE;
|
||||
#endif
|
||||
static const char *ipv_inuse = "IPv4";
|
||||
|
||||
const char *serverlogfile = DEFAULT_LOGFILE;
|
||||
const char *logdir = "log";
|
||||
char loglockfile[256];
|
||||
const char *serverlogfile = DEFAULT_LOGFILE;
|
||||
static const char *logdir = "log";
|
||||
static char loglockfile[256];
|
||||
static const char *pidname = ".tftpd.pid";
|
||||
static const char *portname = NULL; /* none by default */
|
||||
static int serverlogslocked = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user