summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2024-10-31 12:42:06 (GMT)
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2024-10-31 12:42:06 (GMT)
commitb227a9f85498e724bd82b4d6bd9fccc02f64763a (patch)
treeda1adc2528016c22c9507baa8fac47b065ca7766
parent6d4e76680c96d21b00d565fa0128e6956d0be8a3 (diff)
downloadmonitoring-plugins-b227a9f85498e724bd82b4d6bd9fccc02f64763a.tar.gz
check_ping: linter fixes
-rw-r--r--plugins/check_ping.c4
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
50static int process_arguments(int, char **); 50static int process_arguments(int /*argc*/, char ** /*argv*/);
51static int get_threshold(char *, float *, int *); 51static int get_threshold(char * /*arg*/, float * /*trta*/, int * /*tpl*/);
52static int validate_arguments(void); 52static int validate_arguments(void);
53static int run_ping(const char *cmd, const char *addr); 53static int run_ping(const char *cmd, const char *addr);
54static int error_scan(char buf[MAX_INPUT_BUFFER], const char *addr); 54static int error_scan(char buf[MAX_INPUT_BUFFER], const char *addr);