diff options
Diffstat (limited to 'plugins/t')
0 files changed, 0 insertions, 0 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 | ||
122 | static int process_arguments (int, char **); | 122 | static int process_arguments (int, char **); |
123 | static void print_path (const char *mypath); | ||
124 | static void set_all_thresholds (struct parameter_list *path); | 123 | static void set_all_thresholds (struct parameter_list *path); |
125 | static int validate_arguments (uintmax_t, uintmax_t, double, double, double, double, char *); | ||
126 | static void print_help (void); | 124 | static void print_help (void); |
127 | void print_usage (void); | 125 | void print_usage (void); |
128 | static double calculate_percent(uintmax_t, uintmax_t); | 126 | static double calculate_percent(uintmax_t, uintmax_t); |
@@ -130,7 +128,6 @@ static bool stat_path (struct parameter_list *p); | |||
130 | static void get_stats (struct parameter_list *p, struct fs_usage *fsp); | 128 | static void get_stats (struct parameter_list *p, struct fs_usage *fsp); |
131 | static void get_path_stats (struct parameter_list *p, struct fs_usage *fsp); | 129 | static void get_path_stats (struct parameter_list *p, struct fs_usage *fsp); |
132 | 130 | ||
133 | static char *exclude_device; | ||
134 | static char *units; | 131 | static char *units; |
135 | static uintmax_t mult = 1024 * 1024; | 132 | static uintmax_t mult = 1024 * 1024; |
136 | static int verbose = 0; | 133 | static 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 | |||
904 | void | ||
905 | print_path (const char *mypath) | ||
906 | { | ||
907 | if (mypath == NULL) | ||
908 | printf ("\n"); | ||
909 | else | ||
910 | printf (_(" for %s\n"), mypath); | ||
911 | } | ||
912 | |||
913 | |||
914 | void | 899 | void |
915 | set_all_thresholds (struct parameter_list *path) | 900 | set_all_thresholds (struct parameter_list *path) |
916 | { | 901 | { |