mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-15 22:00:06 -04:00
check_ups: delare file local variables static
This commit is contained in:
parent
d330b975b3
commit
6848e618c0
1 changed files with 6 additions and 6 deletions
|
|
@ -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, "");
|
||||
|
|
|
|||
Loading…
Reference in a new issue