Adding d/p/15_check_swap_remove_includes from upstream
This commit is contained in:
parent
567890c312
commit
47b7589ce4
23
debian/patches/15_check_swap_remove_includes
vendored
Normal file
23
debian/patches/15_check_swap_remove_includes
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
From 8a8ee58e8925019b7532e7d14ebe488bb21fb3e6 Mon Sep 17 00:00:00 2001
|
||||
From: RincewindsHat <12514511+RincewindsHat@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@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
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue