diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 12:42:06 (GMT) |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 12:42:06 (GMT) |
commit | b227a9f85498e724bd82b4d6bd9fccc02f64763a (patch) | |
tree | da1adc2528016c22c9507baa8fac47b065ca7766 | |
parent | 6d4e76680c96d21b00d565fa0128e6956d0be8a3 (diff) | |
download | monitoring-plugins-b227a9f85498e724bd82b4d6bd9fccc02f64763a.tar.gz |
check_ping: linter fixes
-rw-r--r-- | plugins/check_ping.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c index 6dfb6b6..4aafaf4 100644 --- a/plugins/check_ping.c +++ b/plugins/check_ping.c | |||
@@ -47,8 +47,8 @@ enum { | |||
47 | DEFAULT_MAX_PACKETS = 5 /* default no. of ICMP ECHO packets */ | 47 | DEFAULT_MAX_PACKETS = 5 /* default no. of ICMP ECHO packets */ |
48 | }; | 48 | }; |
49 | 49 | ||
50 | static int process_arguments(int, char **); | 50 | static int process_arguments(int /*argc*/, char ** /*argv*/); |
51 | static int get_threshold(char *, float *, int *); | 51 | static int get_threshold(char * /*arg*/, float * /*trta*/, int * /*tpl*/); |
52 | static int validate_arguments(void); | 52 | static int validate_arguments(void); |
53 | static int run_ping(const char *cmd, const char *addr); | 53 | static int run_ping(const char *cmd, const char *addr); |
54 | static int error_scan(char buf[MAX_INPUT_BUFFER], const char *addr); | 54 | static int error_scan(char buf[MAX_INPUT_BUFFER], const char *addr); |