diff options
-rw-r--r-- | plugins/check_ssh.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/plugins/check_ssh.c b/plugins/check_ssh.c index 9f805db4..b12cda1d 100644 --- a/plugins/check_ssh.c +++ b/plugins/check_ssh.c | |||
@@ -43,18 +43,18 @@ const char *email = "devel@monitoring-plugins.org"; | |||
43 | #define SSH_DFL_PORT 22 | 43 | #define SSH_DFL_PORT 22 |
44 | #define BUFF_SZ 256 | 44 | #define BUFF_SZ 256 |
45 | 45 | ||
46 | int port = -1; | 46 | static int port = -1; |
47 | char *server_name = NULL; | 47 | static char *server_name = NULL; |
48 | char *remote_version = NULL; | 48 | static char *remote_version = NULL; |
49 | char *remote_protocol = NULL; | 49 | static char *remote_protocol = NULL; |
50 | bool verbose = false; | 50 | static bool verbose = false; |
51 | 51 | ||
52 | int process_arguments(int, char **); | 52 | static int process_arguments(int, char **); |
53 | int validate_arguments(void); | 53 | static int validate_arguments(void); |
54 | void print_help(void); | 54 | static void print_help(void); |
55 | void print_usage(void); | 55 | void print_usage(void); |
56 | 56 | ||
57 | int ssh_connect(char *haddr, int hport, char *remote_version, char *remote_protocol); | 57 | static int ssh_connect(char *haddr, int hport, char *remote_version, char *remote_protocol); |
58 | 58 | ||
59 | int main(int argc, char **argv) { | 59 | int main(int argc, char **argv) { |
60 | int result = STATE_UNKNOWN; | 60 | int result = STATE_UNKNOWN; |