diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_ups.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/check_ups.c b/plugins/check_ups.c index adb7ab8..5dfa72a 100644 --- a/plugins/check_ups.c +++ b/plugins/check_ups.c | |||
@@ -97,13 +97,13 @@ ups_config ups_config_init(void) { | |||
97 | } | 97 | } |
98 | 98 | ||
99 | // Forward declarations | 99 | // Forward declarations |
100 | int determine_status(ups_config *, int *supported_options); | 100 | static int determine_status(ups_config * /*config*/, int *supported_options); |
101 | int get_ups_variable(const char *, char *, const ups_config config); | 101 | static int get_ups_variable(const char * /*varname*/, char * /*buf*/, ups_config config); |
102 | 102 | ||
103 | int process_arguments(int, char **, ups_config *); | 103 | static int process_arguments(int /*argc*/, char ** /*argv*/, ups_config * /*config*/); |
104 | int validate_arguments(ups_config); | 104 | static int validate_arguments(ups_config /*config*/); |
105 | void print_help(void); | 105 | static void print_help(void); |
106 | void print_usage(void); | 106 | static void print_usage(void); |
107 | 107 | ||
108 | int main(int argc, char **argv) { | 108 | int main(int argc, char **argv) { |
109 | setlocale(LC_ALL, ""); | 109 | setlocale(LC_ALL, ""); |