summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2024-10-31 03:42:06 +0100
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2024-10-31 03:42:06 +0100
commit8355b9db407f2ca763467efb509de7564f8016a4 (patch)
tree809083408ebd36b916fd5ab04e7041b2dbe797fa /plugins
parentaa143390f5ee7ca43958312e3142b25df6653e9a (diff)
downloadmonitoring-plugins-8355b9db407f2ca763467efb509de7564f8016a4.tar.gz
check_game: do not export local symbols
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_game.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/plugins/check_game.c b/plugins/check_game.c
index b372cf1b..80a90e44 100644
--- a/plugins/check_game.c
+++ b/plugins/check_game.c
@@ -37,9 +37,9 @@ const char *email = "devel@monitoring-plugins.org";
37#include "utils.h" 37#include "utils.h"
38#include "runcmd.h" 38#include "runcmd.h"
39 39
40int process_arguments(int, char **); 40static int process_arguments(int, char **);
41int validate_arguments(void); 41static int validate_arguments(void);
42void print_help(void); 42static void print_help(void);
43void print_usage(void); 43void print_usage(void);
44 44
45#define QSTAT_DATA_DELIMITER "," 45#define QSTAT_DATA_DELIMITER ","
@@ -49,17 +49,17 @@ void print_usage(void);
49#define QSTAT_HOST_TIMEOUT "TIMEOUT" 49#define QSTAT_HOST_TIMEOUT "TIMEOUT"
50#define QSTAT_MAX_RETURN_ARGS 12 50#define QSTAT_MAX_RETURN_ARGS 12
51 51
52char *server_ip; 52static char *server_ip;
53char *game_type; 53static char *game_type;
54int port = 0; 54static int port = 0;
55 55
56bool verbose = false; 56static bool verbose = false;
57 57
58int qstat_game_players_max = -1; 58static int qstat_game_players_max = -1;
59int qstat_game_players = -1; 59static int qstat_game_players = -1;
60int qstat_game_field = -1; 60static int qstat_game_field = -1;
61int qstat_map_field = -1; 61static int qstat_map_field = -1;
62int qstat_ping_field = -1; 62static int qstat_ping_field = -1;
63 63
64int main(int argc, char **argv) { 64int main(int argc, char **argv) {
65 char *command_line; 65 char *command_line;