summaryrefslogtreecommitdiffstats
path: root/plugins/check_ups.c
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2024-11-08 11:51:39 (GMT)
committerLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2024-11-08 11:51:39 (GMT)
commitbd5608b9fc5d2b3db9f3c9026d279f8928ab4d0c (patch)
tree6c8b889eefcae9d7251d090968c7cdb878449df9 /plugins/check_ups.c
parentb830c7a3e07ea5cd7b8253c4c9fadecd9ad621b6 (diff)
downloadmonitoring-plugins-bd5608b9fc5d2b3db9f3c9026d279f8928ab4d0c.tar.gz
check_ups: do not declare print_usage static
Diffstat (limited to 'plugins/check_ups.c')
-rw-r--r--plugins/check_ups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_ups.c b/plugins/check_ups.c
index 5dfa72a..526a29d 100644
--- a/plugins/check_ups.c
+++ b/plugins/check_ups.c
@@ -103,7 +103,7 @@ static int get_ups_variable(const char * /*varname*/, char * /*buf*/, ups_config
103static int process_arguments(int /*argc*/, char ** /*argv*/, ups_config * /*config*/); 103static int process_arguments(int /*argc*/, char ** /*argv*/, ups_config * /*config*/);
104static int validate_arguments(ups_config /*config*/); 104static int validate_arguments(ups_config /*config*/);
105static void print_help(void); 105static void print_help(void);
106static void print_usage(void); 106void 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, "");