mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-13 18:50:01 -04:00
check_swap: Rename type since *_t is reserved for C standard types
This commit is contained in:
parent
42f5f16578
commit
b32d7421ee
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue