From f60f83a522a7d1552d787630455c1b30ce31764a Mon Sep 17 00:00:00 2001 From: RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> Date: Thu, 31 Oct 2024 13:35:48 +0100 Subject: check_pgsql: print_usage must be exported --- plugins/check_pgsql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c index 1e35a4c6..6613634d 100644 --- a/plugins/check_pgsql.c +++ b/plugins/check_pgsql.c @@ -60,10 +60,10 @@ enum { }; static int process_arguments(int /*argc*/, char ** /*argv*/); -static void print_usage(void); static void print_help(void); static bool is_pg_logname(char * /*username*/); static int do_query(PGconn * /*conn*/, char * /*query*/); +void print_usage(void); static char *pghost = NULL; /* host name of the backend server */ static char *pgport = NULL; /* port of the backend server */ -- cgit v1.2.3-74-g34f1