tests/tftpd+mqttd: make variables static to silence picky warnings

Closes #11594
This commit is contained in:
Daniel Stenberg 2023-08-04 14:43:16 +02:00
parent c71ce0007e
commit 03eba3c8b2
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 5 additions and 5 deletions

View File

@ -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;

View File

@ -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;