summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2024-11-15 15:03:16 +0100
committerLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2024-11-15 15:03:16 +0100
commita581465ca935d59d6627a537456517cef6334380 (patch)
tree0786ae026ec0601ac2e608a623b319e3d52eae04
parent152cdcf3e425e11224b3c52cf0863b6825ae0874 (diff)
downloadmonitoring-plugins-a581465ca935d59d6627a537456517cef6334380.tar.gz
check_swap stuff: Use pragma once instead of include guard
-rw-r--r--plugins/check_swap.d/check_swap.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/check_swap.d/check_swap.h b/plugins/check_swap.d/check_swap.h
index 5d878989..99039b21 100644
--- a/plugins/check_swap.d/check_swap.h
+++ b/plugins/check_swap.d/check_swap.h
@@ -1,5 +1,4 @@
1#ifndef CHECK_SWAP_H 1#pragma once
2#define CHECK_SWAP_H
3 2
4#include "../common.h" 3#include "../common.h"
5 4
@@ -42,5 +41,3 @@ swap_result getSwapFromProcMeminfo(char path_to_proc_meminfo[]);
42swap_result getSwapFromSwapCommand(swap_config config, const char swap_command[], const char swap_format[]); 41swap_result getSwapFromSwapCommand(swap_config config, const char swap_command[], const char swap_format[]);
43swap_result getSwapFromSwapctl_BSD(swap_config config); 42swap_result getSwapFromSwapctl_BSD(swap_config config);
44swap_result getSwapFromSwap_SRV4(swap_config config); 43swap_result getSwapFromSwap_SRV4(swap_config config);
45
46#endif