[monitoring-plugins] check_ups: do not declare print_usage static
Lorenz Kästle
git at monitoring-plugins.org
Fri Nov 8 23:10:13 CET 2024
Module: monitoring-plugins
Branch: master
Commit: bd5608b9fc5d2b3db9f3c9026d279f8928ab4d0c
Author: Lorenz Kästle <12514511+RincewindsHat at users.noreply.github.com>
Date: Fri Nov 8 12:51:39 2024 +0100
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=bd5608b
check_ups: do not declare print_usage static
---
plugins/check_ups.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
static int process_arguments(int /*argc*/, char ** /*argv*/, ups_config * /*config*/);
static int validate_arguments(ups_config /*config*/);
static void print_help(void);
-static void print_usage(void);
+void print_usage(void);
int main(int argc, char **argv) {
setlocale(LC_ALL, "");
More information about the Commits
mailing list