From d572b0e4ca4042427709b29fb2e23f175d0a92b6 Mon Sep 17 00:00:00 2001 From: Jaime Casanova Date: Thu, 30 Sep 2010 09:06:45 -0500 Subject: [PATCH] Add const modifier to the prototype of the function get_cluster_size, to allow compilation --- dbutils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbutils.h b/dbutils.h index 4576c1fc..291b0424 100644 --- a/dbutils.h +++ b/dbutils.h @@ -8,4 +8,4 @@ PGconn *establishDBConnection(const char *conninfo, const bool exit_on_error); bool is_standby(PGconn *conn); bool is_supported_version(PGconn *conn); bool guc_setted(PGconn *conn, const char *parameter, const char *op, const char *value); -char *get_cluster_size(PGconn *conn); +const char *get_cluster_size(PGconn *conn);