mirror of
https://github.com/curl/curl.git
synced 2026-07-24 02:47:17 +03:00
tests/tftpd+mqttd: make variables static to silence picky warnings
Closes #11594
This commit is contained in:
parent
c71ce0007e
commit
03eba3c8b2
2 changed files with 5 additions and 5 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue