put includes before any declarations

This commit is contained in:
Lorenz Kästle 2025-11-04 12:15:20 +01:00
parent b207ac3b0a
commit 4191aa46a2

View file

@ -29,20 +29,19 @@
*****************************************************************************/
#include "states.h"
const char *progname = "check_pgsql";
const char *copyright = "1999-2024";
const char *email = "devel@monitoring-plugins.org";
#include "common.h"
#include "utils.h"
#include "utils_cmd.h"
#include "check_pgsql.d/config.h"
#include "thresholds.h"
#include "netutils.h"
#include <libpq-fe.h>
#include <pg_config_manual.h>
const char *progname = "check_pgsql";
const char *copyright = "1999-2024";
const char *email = "devel@monitoring-plugins.org";
#define DEFAULT_HOST "127.0.0.1"
/* return the PSQL server version as a 3-tuple */