diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-11-08 23:04:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-08 23:04:19 +0100 |
commit | b370072a5a1e21876abf8cf95f4622c02565ae07 (patch) | |
tree | 5856b120cba767922c8af0cf9d9b25c48bb32ed9 /plugins/check_ups.c | |
parent | ef39064f5148d96a6923f60a2fadd12810fcfa06 (diff) | |
parent | e8905c9e9c96b5b57f64edf0d5c7429aa39341b8 (diff) | |
download | monitoring-plugins-b370072.tar.gz |
Merge pull request #2043 from RincewindsHat/cleanup/leftovers
Cleanup/leftovers
Diffstat (limited to 'plugins/check_ups.c')
-rw-r--r-- | plugins/check_ups.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/check_ups.c b/plugins/check_ups.c index adb7ab81..526a29df 100644 --- a/plugins/check_ups.c +++ b/plugins/check_ups.c | |||
@@ -97,12 +97,12 @@ ups_config ups_config_init(void) { | |||
97 | } | 97 | } |
98 | 98 | ||
99 | // Forward declarations | 99 | // Forward declarations |
100 | int determine_status(ups_config *, int *supported_options); | 100 | static int determine_status(ups_config * /*config*/, int *supported_options); |
101 | int get_ups_variable(const char *, char *, const ups_config config); | 101 | static int get_ups_variable(const char * /*varname*/, char * /*buf*/, ups_config config); |
102 | 102 | ||
103 | int process_arguments(int, char **, ups_config *); | 103 | static int process_arguments(int /*argc*/, char ** /*argv*/, ups_config * /*config*/); |
104 | int validate_arguments(ups_config); | 104 | static int validate_arguments(ups_config /*config*/); |
105 | void print_help(void); | 105 | static void print_help(void); |
106 | 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) { |