[monitoring-plugins] check_icmp: Properly mark function with void input

RincewindsHat git at monitoring-plugins.org
Wed Oct 30 17:30:12 CET 2024


 Module: monitoring-plugins
 Branch: master
 Commit: 780909f980809a3798343fb8cf82c33ed284885a
 Author: RincewindsHat <12514511+RincewindsHat at users.noreply.github.com>
   Date: Tue Oct 15 11:55:27 2024 +0200
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=780909f

check_icmp: Properly mark function with void input

---

 plugins-root/check_icmp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c
index d7e6ca2..e6d4316 100644
--- a/plugins-root/check_icmp.c
+++ b/plugins-root/check_icmp.c
@@ -845,7 +845,7 @@ int main(int argc, char **argv) {
 	return (0);
 }
 
-static void run_checks() {
+static void run_checks(void) {
 	u_int i, t;
 	u_int final_wait, time_passed;
 



More information about the Commits mailing list