[Sheepdog] [PATCH 2/9] const correctness: commands[] change char to const char *

Steven Dake sdake at redhat.com
Mon May 17 18:37:10 CEST 2010


This first parameter is really a (const char *) instead of a (char *).

Signed-off-by: Steven Dake <sdake at redhat.com>
---
 collie/collie.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/collie/collie.c b/collie/collie.c
index e778459..2e95b5b 100644
--- a/collie/collie.c
+++ b/collie/collie.c
@@ -968,7 +968,7 @@ static struct option cluster_long_options[] =
 };
 
 static struct {
-	char *name;
+	const char *name;
 	struct subcommand *sub;
 	struct option *lopts;
 	char *sopts;
-- 
1.6.2.5




More information about the sheepdog mailing list