summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2024-10-31 12:35:48 (GMT)
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2024-10-31 12:35:48 (GMT)
commitf60f83a522a7d1552d787630455c1b30ce31764a (patch)
treea474b221e008057fabc222a24145c7e120d19944
parent8eb68605783b2d651c94c133d84faacefee83a99 (diff)
downloadmonitoring-plugins-f60f83a522a7d1552d787630455c1b30ce31764a.tar.gz
check_pgsql: print_usage must be exported
-rw-r--r--plugins/check_pgsql.c2
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
62static int process_arguments(int /*argc*/, char ** /*argv*/); 62static int process_arguments(int /*argc*/, char ** /*argv*/);
63static void print_usage(void);
64static void print_help(void); 63static void print_help(void);
65static bool is_pg_logname(char * /*username*/); 64static bool is_pg_logname(char * /*username*/);
66static int do_query(PGconn * /*conn*/, char * /*query*/); 65static int do_query(PGconn * /*conn*/, char * /*query*/);
66void print_usage(void);
67 67
68static char *pghost = NULL; /* host name of the backend server */ 68static char *pghost = NULL; /* host name of the backend server */
69static char *pgport = NULL; /* port of the backend server */ 69static char *pgport = NULL; /* port of the backend server */