From b32d7421ee81faaadb2729ee8b19cec4fd1b1899 Mon Sep 17 00:00:00 2001 From: RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> Date: Wed, 13 Dec 2023 09:29:12 +0100 Subject: check_swap: Rename type since *_t is reserved for C standard types --- plugins/check_swap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/check_swap.c') diff --git a/plugins/check_swap.c b/plugins/check_swap.c index 1a7011c0..9630071a 100644 --- a/plugins/check_swap.c +++ b/plugins/check_swap.c @@ -54,7 +54,7 @@ const char *email = "devel@monitoring-plugins.org"; typedef struct { bool is_percentage; uint64_t value; -} threshold_t; +} threshold; int check_swap (float free_swap_mb, float total_swap_mb); int process_arguments (int argc, char **argv); @@ -62,8 +62,8 @@ int validate_arguments (void); void print_usage (void); void print_help (void); -threshold_t warn; -threshold_t crit; +threshold warn; +threshold crit; int verbose; bool allswaps = false; int no_swap_state = STATE_CRITICAL; -- cgit v1.2.3-74-g34f1