diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-11-08 11:51:39 (GMT) |
---|---|---|
committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-11-08 11:51:39 (GMT) |
commit | bd5608b9fc5d2b3db9f3c9026d279f8928ab4d0c (patch) | |
tree | 6c8b889eefcae9d7251d090968c7cdb878449df9 /plugins/check_ups.c | |
parent | b830c7a3e07ea5cd7b8253c4c9fadecd9ad621b6 (diff) | |
download | monitoring-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.c | 2 |
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 | |||
103 | static int process_arguments(int /*argc*/, char ** /*argv*/, ups_config * /*config*/); | 103 | static int process_arguments(int /*argc*/, char ** /*argv*/, ups_config * /*config*/); |
104 | static int validate_arguments(ups_config /*config*/); | 104 | static int validate_arguments(ups_config /*config*/); |
105 | static void print_help(void); | 105 | static void print_help(void); |
106 | static void print_usage(void); | 106 | void print_usage(void); |
107 | 107 | ||
108 | int main(int argc, char **argv) { | 108 | int main(int argc, char **argv) { |
109 | setlocale(LC_ALL, ""); | 109 | setlocale(LC_ALL, ""); |