From 6848e618c0eb54563707bf473fbd8c4acf6d2b2d 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:49:37 +0100 Subject: check_ups: delare file local variables static diff --git a/plugins/check_ups.c b/plugins/check_ups.c index adb7ab8..5dfa72a 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 v0.10-9-g596f