mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-08 16:26:23 -04:00
check_swap stuff: Use pragma once instead of include guard
This commit is contained in:
parent
152cdcf3e4
commit
a581465ca9
1 changed files with 1 additions and 4 deletions
|
|
@ -1,5 +1,4 @@
|
|||
#ifndef CHECK_SWAP_H
|
||||
#define CHECK_SWAP_H
|
||||
#pragma once
|
||||
|
||||
#include "../common.h"
|
||||
|
||||
|
|
@ -42,5 +41,3 @@ swap_result getSwapFromProcMeminfo(char path_to_proc_meminfo[]);
|
|||
swap_result getSwapFromSwapCommand(swap_config config, const char swap_command[], const char swap_format[]);
|
||||
swap_result getSwapFromSwapctl_BSD(swap_config config);
|
||||
swap_result getSwapFromSwap_SRV4(swap_config config);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue