This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gfs2-utils: master - gfs_control: fix const warnings


Gitweb:        http://git.fedorahosted.org/git/gfs2-utils.git?p=gfs2-utils.git;a=commitdiff;h=e9f477b7f3f8572140656da99eee49af81e8037e
Commit:        e9f477b7f3f8572140656da99eee49af81e8037e
Parent:        ff7fee86da816417721e46567f90856ae0dd4f56
Author:        Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate:    Wed May 6 09:07:34 2009 +0200
Committer:     Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Tue Jun 23 11:13:07 2009 +0200

gfs_control: fix const warnings

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
 group/gfs_control/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/group/gfs_control/main.c b/group/gfs_control/main.c
index fe4359f..dac0ae2 100644
--- a/group/gfs_control/main.c
+++ b/group/gfs_control/main.c
@@ -256,7 +256,7 @@ int member_int(struct gfsc_node *n)
 	return 0;
 }
 
-char *condition_str(int cond)
+const char *condition_str(int cond)
 {
 	switch (cond) {
 	case 0:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]