summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2024-10-31 02:45:58 +0100
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2024-10-31 02:45:58 +0100
commitba47cca3ef026209868da044741554cbb6c2bb3b (patch)
tree90555c01ab0ad84f12a60413ac011f86f4c6201e
parent744568f1f804f6676358a4ad654e4319598cebdf (diff)
downloadmonitoring-plugins-ba47cca3ef026209868da044741554cbb6c2bb3b.tar.gz
check_by_ssh: do not export local symbols
-rw-r--r--plugins/check_by_ssh.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/plugins/check_by_ssh.c b/plugins/check_by_ssh.c
index 4bcac003..598e0463 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
42int process_arguments(int, char **); 42static int process_arguments(int, char **);
43int validate_arguments(void); 43static int validate_arguments(void);
44void comm_append(const char *); 44static void comm_append(const char *);
45void print_help(void); 45static void print_help(void);
46void print_usage(void); 46void print_usage(void);
47 47
48unsigned int commands = 0; 48static unsigned int commands = 0;
49unsigned int services = 0; 49static unsigned int services = 0;
50int skip_stdout = 0; 50static int skip_stdout = 0;
51int skip_stderr = 0; 51static int skip_stderr = 0;
52int warn_on_stderr = 0; 52static int warn_on_stderr = 0;
53bool unknown_timeout = false; 53static bool unknown_timeout = false;
54char *remotecmd = NULL; 54static char *remotecmd = NULL;
55char **commargv = NULL; 55static char **commargv = NULL;
56int commargc = 0; 56static int commargc = 0;
57char *hostname = NULL; 57static char *hostname = NULL;
58char *outputfile = NULL; 58static char *outputfile = NULL;
59char *host_shortname = NULL; 59static char *host_shortname = NULL;
60char **service; 60static char **service;
61bool passive = false; 61static bool passive = false;
62bool verbose = false; 62static bool verbose = false;
63 63
64int main(int argc, char **argv) { 64int main(int argc, char **argv) {
65 65