diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 12:35:48 (GMT) |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 12:35:48 (GMT) |
commit | f60f83a522a7d1552d787630455c1b30ce31764a (patch) | |
tree | a474b221e008057fabc222a24145c7e120d19944 | |
parent | 8eb68605783b2d651c94c133d84faacefee83a99 (diff) | |
download | monitoring-plugins-f60f83a522a7d1552d787630455c1b30ce31764a.tar.gz |
check_pgsql: print_usage must be exported
-rw-r--r-- | plugins/check_pgsql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c index 1e35a4c..6613634 100644 --- a/plugins/check_pgsql.c +++ b/plugins/check_pgsql.c | |||
@@ -60,10 +60,10 @@ enum { | |||
60 | }; | 60 | }; |
61 | 61 | ||
62 | static int process_arguments(int /*argc*/, char ** /*argv*/); | 62 | static int process_arguments(int /*argc*/, char ** /*argv*/); |
63 | static void print_usage(void); | ||
64 | static void print_help(void); | 63 | static void print_help(void); |
65 | static bool is_pg_logname(char * /*username*/); | 64 | static bool is_pg_logname(char * /*username*/); |
66 | static int do_query(PGconn * /*conn*/, char * /*query*/); | 65 | static int do_query(PGconn * /*conn*/, char * /*query*/); |
66 | void print_usage(void); | ||
67 | 67 | ||
68 | static char *pghost = NULL; /* host name of the backend server */ | 68 | static char *pghost = NULL; /* host name of the backend server */ |
69 | static char *pgport = NULL; /* port of the backend server */ | 69 | static char *pgport = NULL; /* port of the backend server */ |