summaryrefslogtreecommitdiffstats
path: root/plugins/check_ups.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_ups.c')
-rw-r--r--plugins/check_ups.c12
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
100int determine_status(ups_config *, int *supported_options); 100static int determine_status(ups_config * /*config*/, int *supported_options);
101int get_ups_variable(const char *, char *, const ups_config config); 101static int get_ups_variable(const char * /*varname*/, char * /*buf*/, ups_config config);
102 102
103int process_arguments(int, char **, ups_config *); 103static int process_arguments(int /*argc*/, char ** /*argv*/, ups_config * /*config*/);
104int validate_arguments(ups_config); 104static int validate_arguments(ups_config /*config*/);
105void print_help(void); 105static void print_help(void);
106void print_usage(void); 106static void print_usage(void);
107 107
108int main(int argc, char **argv) { 108int main(int argc, char **argv) {
109 setlocale(LC_ALL, ""); 109 setlocale(LC_ALL, "");