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

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=29df84c7347ac55c23f7f31599c979083984303e
Commit:        29df84c7347ac55c23f7f31599c979083984303e
Parent:        0ea599ca0f603bf074e77a98c9a971ad6a3250b1
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:23:07 2009 +0100

cman: fix build warnings introduced by corosync changes

char -> const char..

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

diff --git a/cman/config/cman-preconfig.c b/cman/config/cman-preconfig.c
index 42c078b..c9c109b 100644
--- a/cman/config/cman-preconfig.c
+++ b/cman/config/cman-preconfig.c
@@ -27,8 +27,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;
@@ -1064,7 +1064,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;
@@ -1127,7 +1127,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:23 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:23 cluster: master - 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).