From 6848e618c0eb54563707bf473fbd8c4acf6d2b2d Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Fri, 8 Nov 2024 12:49:37 +0100 Subject: check_ups: delare file local variables static --- plugins/check_ups.c | 12 ++++++------ 1 file 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) { } // Forward declarations -int determine_status(ups_config *, int *supported_options); -int get_ups_variable(const char *, char *, const ups_config config); +static int determine_status(ups_config * /*config*/, int *supported_options); +static int get_ups_variable(const char * /*varname*/, char * /*buf*/, ups_config config); -int process_arguments(int, char **, ups_config *); -int validate_arguments(ups_config); -void print_help(void); -void print_usage(void); +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); int main(int argc, char **argv) { setlocale(LC_ALL, ""); -- cgit v1.2.3-74-g34f1