diff options
| -rw-r--r-- | plugins/check_disk.c | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c index 24de2d45..8bfc69b1 100644 --- a/plugins/check_disk.c +++ b/plugins/check_disk.c | |||
| @@ -119,44 +119,44 @@ enum | |||
| 119 | #pragma alloca | 119 | #pragma alloca |
| 120 | #endif | 120 | #endif |
| 121 | 121 | ||
| 122 | int process_arguments (int, char **); | 122 | static int process_arguments (int, char **); |
| 123 | void print_path (const char *mypath); | 123 | static void print_path (const char *mypath); |
| 124 | void set_all_thresholds (struct parameter_list *path); | 124 | static void set_all_thresholds (struct parameter_list *path); |
| 125 | int validate_arguments (uintmax_t, uintmax_t, double, double, double, double, char *); | 125 | static int validate_arguments (uintmax_t, uintmax_t, double, double, double, double, char *); |
| 126 | void print_help (void); | 126 | static void print_help (void); |
| 127 | void print_usage (void); | 127 | void print_usage (void); |
| 128 | double calculate_percent(uintmax_t, uintmax_t); | 128 | static double calculate_percent(uintmax_t, uintmax_t); |
| 129 | bool stat_path (struct parameter_list *p); | 129 | static bool stat_path (struct parameter_list *p); |
| 130 | void get_stats (struct parameter_list *p, struct fs_usage *fsp); | 130 | static void get_stats (struct parameter_list *p, struct fs_usage *fsp); |
| 131 | void get_path_stats (struct parameter_list *p, struct fs_usage *fsp); | 131 | static void get_path_stats (struct parameter_list *p, struct fs_usage *fsp); |
| 132 | 132 | ||
| 133 | char *exclude_device; | 133 | static char *exclude_device; |
| 134 | char *units; | 134 | static char *units; |
| 135 | uintmax_t mult = 1024 * 1024; | 135 | static uintmax_t mult = 1024 * 1024; |
| 136 | int verbose = 0; | 136 | static int verbose = 0; |
| 137 | bool erronly = false; | 137 | static bool erronly = false; |
| 138 | bool display_mntp = false; | 138 | static bool display_mntp = false; |
| 139 | bool exact_match = false; | 139 | static bool exact_match = false; |
| 140 | bool ignore_missing = false; | 140 | static bool ignore_missing = false; |
| 141 | bool freespace_ignore_reserved = false; | 141 | static bool freespace_ignore_reserved = false; |
| 142 | bool display_inodes_perfdata = false; | 142 | static bool display_inodes_perfdata = false; |
| 143 | char *warn_freespace_units = NULL; | 143 | static char *warn_freespace_units = NULL; |
| 144 | char *crit_freespace_units = NULL; | 144 | static char *crit_freespace_units = NULL; |
| 145 | char *warn_freespace_percent = NULL; | 145 | static char *warn_freespace_percent = NULL; |
| 146 | char *crit_freespace_percent = NULL; | 146 | static char *crit_freespace_percent = NULL; |
| 147 | char *warn_usedspace_units = NULL; | 147 | static char *warn_usedspace_units = NULL; |
| 148 | char *crit_usedspace_units = NULL; | 148 | static char *crit_usedspace_units = NULL; |
| 149 | char *warn_usedspace_percent = NULL; | 149 | static char *warn_usedspace_percent = NULL; |
| 150 | char *crit_usedspace_percent = NULL; | 150 | static char *crit_usedspace_percent = NULL; |
| 151 | char *warn_usedinodes_percent = NULL; | 151 | static char *warn_usedinodes_percent = NULL; |
| 152 | char *crit_usedinodes_percent = NULL; | 152 | static char *crit_usedinodes_percent = NULL; |
| 153 | char *warn_freeinodes_percent = NULL; | 153 | static char *warn_freeinodes_percent = NULL; |
| 154 | char *crit_freeinodes_percent = NULL; | 154 | static char *crit_freeinodes_percent = NULL; |
| 155 | bool path_selected = false; | 155 | static bool path_selected = false; |
| 156 | bool path_ignored = false; | 156 | static bool path_ignored = false; |
| 157 | char *group = NULL; | 157 | static char *group = NULL; |
| 158 | struct stat *stat_buf; | 158 | static struct stat *stat_buf; |
| 159 | struct name_list *seen = NULL; | 159 | static struct name_list *seen = NULL; |
| 160 | 160 | ||
| 161 | 161 | ||
| 162 | int | 162 | int |
