From bd5608b9fc5d2b3db9f3c9026d279f8928ab4d0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20K=C3=A4stle?= <12514511+RincewindsHat@users.noreply.github.com> Date: Fri, 8 Nov 2024 12:51:39 +0100 Subject: check_ups: do not declare print_usage static 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, ""); -- cgit v0.10-9-g596f