summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/check_ssh.c20
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
46int port = -1; 46static int port = -1;
47char *server_name = NULL; 47static char *server_name = NULL;
48char *remote_version = NULL; 48static char *remote_version = NULL;
49char *remote_protocol = NULL; 49static char *remote_protocol = NULL;
50bool verbose = false; 50static bool verbose = false;
51 51
52int process_arguments(int, char **); 52static int process_arguments(int, char **);
53int validate_arguments(void); 53static int validate_arguments(void);
54void print_help(void); 54static void print_help(void);
55void print_usage(void); 55void print_usage(void);
56 56
57int ssh_connect(char *haddr, int hport, char *remote_version, char *remote_protocol); 57static int ssh_connect(char *haddr, int hport, char *remote_version, char *remote_protocol);
58 58
59int main(int argc, char **argv) { 59int main(int argc, char **argv) {
60 int result = STATE_UNKNOWN; 60 int result = STATE_UNKNOWN;