[pkg-nagios-changes] [Git][nagios-team/monitoring-plugins][experimental] Adding d/p/15_check_swap_remove_includes from upstream
Jan Wagner (@waja)
gitlab at salsa.debian.org
Fri Mar 17 17:51:05 GMT 2023
Jan Wagner pushed to branch experimental at Debian Nagios Maintainer Group / monitoring-plugins
Commits:
47b7589c by Jan Wagner at 2023-03-16T22:11:03+00:00
Adding d/p/15_check_swap_remove_includes from upstream
- - - - -
2 changed files:
- + debian/patches/15_check_swap_remove_includes
- debian/patches/series
Changes:
=====================================
debian/patches/15_check_swap_remove_includes
=====================================
@@ -0,0 +1,23 @@
+From 8a8ee58e8925019b7532e7d14ebe488bb21fb3e6 Mon Sep 17 00:00:00 2001
+From: RincewindsHat <12514511+RincewindsHat at users.noreply.github.com>
+Date: Thu, 16 Mar 2023 15:26:52 +0100
+Subject: [PATCH] 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 a607da1e9..25d5f21d0 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
=====================================
debian/patches/series
=====================================
@@ -6,6 +6,7 @@
12_check_curl_improvements
13_check_icmp_improvements
14_check_curl_fix_SSL_with_multiple_IPs
+15_check_swap_remove_includes
# feature patches
30_check_radius_radcli_1.3.1_support
31_checl_mailq_separate_submission_queue
View it on GitLab: https://salsa.debian.org/nagios-team/monitoring-plugins/-/commit/47b7589ce406b518210653551afef76d89a80c1e
--
View it on GitLab: https://salsa.debian.org/nagios-team/monitoring-plugins/-/commit/47b7589ce406b518210653551afef76d89a80c1e
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-nagios-changes/attachments/20230317/b232d8d9/attachment-0001.htm>
More information about the pkg-nagios-changes
mailing list