diff options
Diffstat (limited to 'plugins/check_by_ssh.c')
-rw-r--r-- | plugins/check_by_ssh.c | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/plugins/check_by_ssh.c b/plugins/check_by_ssh.c index 4bcac00..598e046 100644 --- a/plugins/check_by_ssh.c +++ b/plugins/check_by_ssh.c | |||
@@ -39,27 +39,27 @@ const char *email = "devel@monitoring-plugins.org"; | |||
39 | # define NP_MAXARGS 1024 | 39 | # define NP_MAXARGS 1024 |
40 | #endif | 40 | #endif |
41 | 41 | ||
42 | int process_arguments(int, char **); | 42 | static int process_arguments(int, char **); |
43 | int validate_arguments(void); | 43 | static int validate_arguments(void); |
44 | void comm_append(const char *); | 44 | static void comm_append(const char *); |
45 | void print_help(void); | 45 | static void print_help(void); |
46 | void print_usage(void); | 46 | void print_usage(void); |
47 | 47 | ||
48 | unsigned int commands = 0; | 48 | static unsigned int commands = 0; |
49 | unsigned int services = 0; | 49 | static unsigned int services = 0; |
50 | int skip_stdout = 0; | 50 | static int skip_stdout = 0; |
51 | int skip_stderr = 0; | 51 | static int skip_stderr = 0; |
52 | int warn_on_stderr = 0; | 52 | static int warn_on_stderr = 0; |
53 | bool unknown_timeout = false; | 53 | static bool unknown_timeout = false; |
54 | char *remotecmd = NULL; | 54 | static char *remotecmd = NULL; |
55 | char **commargv = NULL; | 55 | static char **commargv = NULL; |
56 | int commargc = 0; | 56 | static int commargc = 0; |
57 | char *hostname = NULL; | 57 | static char *hostname = NULL; |
58 | char *outputfile = NULL; | 58 | static char *outputfile = NULL; |
59 | char *host_shortname = NULL; | 59 | static char *host_shortname = NULL; |
60 | char **service; | 60 | static char **service; |
61 | bool passive = false; | 61 | static bool passive = false; |
62 | bool verbose = false; | 62 | static bool verbose = false; |
63 | 63 | ||
64 | int main(int argc, char **argv) { | 64 | int main(int argc, char **argv) { |
65 | 65 | ||