summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2024-11-08 12:51:39 +0100
committerLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2024-11-08 12:51:39 +0100
commitbd5608b9fc5d2b3db9f3c9026d279f8928ab4d0c (patch)
tree6c8b889eefcae9d7251d090968c7cdb878449df9 /plugins
parentb830c7a3e07ea5cd7b8253c4c9fadecd9ad621b6 (diff)
downloadmonitoring-plugins-bd5608b9fc5d2b3db9f3c9026d279f8928ab4d0c.tar.gz
check_ups: do not declare print_usage static
Diffstat (limited to 'plugins')
-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 5dfa72a4..526a29df 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, "");