summaryrefslogtreecommitdiffstats
path: root/plugins/check_disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_disk.c')
-rw-r--r--plugins/check_disk.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index 8bfc69b..b3dd301 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -120,9 +120,7 @@ enum
120#endif 120#endif
121 121
122static int process_arguments (int, char **); 122static int process_arguments (int, char **);
123static void print_path (const char *mypath);
124static void set_all_thresholds (struct parameter_list *path); 123static void set_all_thresholds (struct parameter_list *path);
125static int validate_arguments (uintmax_t, uintmax_t, double, double, double, double, char *);
126static void print_help (void); 124static void print_help (void);
127void print_usage (void); 125void print_usage (void);
128static double calculate_percent(uintmax_t, uintmax_t); 126static double calculate_percent(uintmax_t, uintmax_t);
@@ -130,7 +128,6 @@ static bool stat_path (struct parameter_list *p);
130static void get_stats (struct parameter_list *p, struct fs_usage *fsp); 128static void get_stats (struct parameter_list *p, struct fs_usage *fsp);
131static void get_path_stats (struct parameter_list *p, struct fs_usage *fsp); 129static void get_path_stats (struct parameter_list *p, struct fs_usage *fsp);
132 130
133static char *exclude_device;
134static char *units; 131static char *units;
135static uintmax_t mult = 1024 * 1024; 132static uintmax_t mult = 1024 * 1024;
136static int verbose = 0; 133static int verbose = 0;
@@ -899,18 +896,6 @@ process_arguments (int argc, char **argv)
899 return true; 896 return true;
900} 897}
901 898
902
903
904void
905print_path (const char *mypath)
906{
907 if (mypath == NULL)
908 printf ("\n");
909 else
910 printf (_(" for %s\n"), mypath);
911}
912
913
914void 899void
915set_all_thresholds (struct parameter_list *path) 900set_all_thresholds (struct parameter_list *path)
916{ 901{