diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 03:42:06 +0100 |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 03:42:06 +0100 |
commit | 8355b9db407f2ca763467efb509de7564f8016a4 (patch) | |
tree | 809083408ebd36b916fd5ab04e7041b2dbe797fa /plugins | |
parent | aa143390f5ee7ca43958312e3142b25df6653e9a (diff) | |
download | monitoring-plugins-8355b9db407f2ca763467efb509de7564f8016a4.tar.gz |
check_game: do not export local symbols
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_game.c | 24 |
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 | ||
40 | int process_arguments(int, char **); | 40 | static int process_arguments(int, char **); |
41 | int validate_arguments(void); | 41 | static int validate_arguments(void); |
42 | void print_help(void); | 42 | static void print_help(void); |
43 | void print_usage(void); | 43 | void 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 | ||
52 | char *server_ip; | 52 | static char *server_ip; |
53 | char *game_type; | 53 | static char *game_type; |
54 | int port = 0; | 54 | static int port = 0; |
55 | 55 | ||
56 | bool verbose = false; | 56 | static bool verbose = false; |
57 | 57 | ||
58 | int qstat_game_players_max = -1; | 58 | static int qstat_game_players_max = -1; |
59 | int qstat_game_players = -1; | 59 | static int qstat_game_players = -1; |
60 | int qstat_game_field = -1; | 60 | static int qstat_game_field = -1; |
61 | int qstat_map_field = -1; | 61 | static int qstat_map_field = -1; |
62 | int qstat_ping_field = -1; | 62 | static int qstat_ping_field = -1; |
63 | 63 | ||
64 | int main(int argc, char **argv) { | 64 | int main(int argc, char **argv) { |
65 | char *command_line; | 65 | char *command_line; |