[monitoring-plugins] check_swap: Remove unnecessary and problematic ...

RincewindsHat git at monitoring-plugins.org
Thu Mar 16 16:10:11 CET 2023


 Module: monitoring-plugins
 Branch: master
 Commit: 8a8ee58e8925019b7532e7d14ebe488bb21fb3e6
 Author: RincewindsHat <12514511+RincewindsHat at users.noreply.github.com>
   Date: Thu Mar 16 15:26:52 2023 +0100
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=8a8ee58

check_swap: Remove unnecessary and problematic includes

---

 plugins/check_swap.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/plugins/check_swap.c b/plugins/check_swap.c
index a607da1..25d5f21 100644
--- a/plugins/check_swap.c
+++ b/plugins/check_swap.c
@@ -34,9 +34,6 @@ const char *email = "devel at monitoring-plugins.org";
 #include "common.h"
 #include "popen.h"
 #include "utils.h"
-#include <string.h>
-#include <math.h>
-#include <libintl.h>
 
 #ifdef HAVE_DECL_SWAPCTL
 # ifdef HAVE_SYS_PARAM_H



More information about the Commits mailing list