public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: STABLE3 - cman: fix build warnings introduced by corosync changes
@ 2009-03-12  9:21 Fabio M. Di Nitto
  0 siblings, 0 replies; only message in thread
From: Fabio M. Di Nitto @ 2009-03-12  9:21 UTC (permalink / raw)
  To: cluster-cvs-relay

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=2bd98553a84cec5e4716ce6eab70961aebbf9f8a
Commit:        2bd98553a84cec5e4716ce6eab70961aebbf9f8a
Parent:        4374d8d492363d2952472a85a24c84c68a2402f9
Author:        Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate:    Thu Mar 12 10:11:30 2009 +0100
Committer:     Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Thu Mar 12 10:20:41 2009 +0100

cman: fix build warnings introduced by corosync changes

char -> const char..

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
 cman/daemon/cman-preconfig.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/cman/daemon/cman-preconfig.c b/cman/daemon/cman-preconfig.c
index 1dbaab0..948a3a9 100644
--- a/cman/daemon/cman-preconfig.c
+++ b/cman/daemon/cman-preconfig.c
@@ -29,8 +29,8 @@
 #define MAX_PATH_LEN PATH_MAX
 
 static unsigned int debug_mask;
-static int cmanpre_readconfig(struct objdb_iface_ver0 *objdb, char **error_string);
-static int cmanpre_reloadconfig(struct objdb_iface_ver0 *objdb, int flush, char **error_string);
+static int cmanpre_readconfig(struct objdb_iface_ver0 *objdb, const char **error_string);
+static int cmanpre_reloadconfig(struct objdb_iface_ver0 *objdb, int flush, const char **error_string);
 
 static char *nodename_env;
 static int expected_votes;
@@ -1044,7 +1044,7 @@ static int get_cman_globals(struct objdb_iface_ver0 *objdb)
 	return 0;
 }
 
-static int cmanpre_reloadconfig(struct objdb_iface_ver0 *objdb, int flush, char **error_string)
+static int cmanpre_reloadconfig(struct objdb_iface_ver0 *objdb, int flush, const char **error_string)
 {
 	int ret = -1;
 	hdb_handle_t object_handle;
@@ -1102,7 +1102,7 @@ err:
 	return ret;
 }
 
-static int cmanpre_readconfig(struct objdb_iface_ver0 *objdb, char **error_string)
+static int cmanpre_readconfig(struct objdb_iface_ver0 *objdb, const char **error_string)
 {
 	int ret = 0;
 	hdb_handle_t object_handle;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-12  9:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-12  9:21 cluster: STABLE3 - cman: fix build warnings introduced by corosync changes Fabio M. Di Nitto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).