summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2024-11-08 12:49:37 +0100
committerLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2024-11-08 12:49:37 +0100
commit6848e618c0eb54563707bf473fbd8c4acf6d2b2d (patch)
tree3a7b0260c46d2d3538d4e62699cfc1a14c9e412a
parentd330b975b3c580c385c736c8a52209919de1d582 (diff)
downloadmonitoring-plugins-6848e618c0eb54563707bf473fbd8c4acf6d2b2d.tar.gz
check_ups: delare file local variables static
-rw-r--r--plugins/check_ups.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/check_ups.c b/plugins/check_ups.c
index adb7ab81..5dfa72a4 100644
--- a/plugins/check_ups.c
+++ b/plugins/check_ups.c
@@ -97,13 +97,13 @@ ups_config ups_config_init(void) {
97} 97}
98 98
99// Forward declarations 99// Forward declarations
100int determine_status(ups_config *, int *supported_options); 100static int determine_status(ups_config * /*config*/, int *supported_options);
101int get_ups_variable(const char *, char *, const ups_config config); 101static int get_ups_variable(const char * /*varname*/, char * /*buf*/, ups_config config);
102 102
103int process_arguments(int, char **, ups_config *); 103static int process_arguments(int /*argc*/, char ** /*argv*/, ups_config * /*config*/);
104int validate_arguments(ups_config); 104static int validate_arguments(ups_config /*config*/);
105void print_help(void); 105static void print_help(void);
106void print_usage(void); 106static void 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, "");