[Sheepdog] [PATCH 03/12] const correctness: make short_options a const char *

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Fri May 21 13:42:30 CEST 2010


Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
 sheep/sheep.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sheep/sheep.c b/sheep/sheep.c
index b95b436..e507e48 100644
--- a/sheep/sheep.c
+++ b/sheep/sheep.c
@@ -36,7 +36,7 @@ static struct option const long_options[] = {
 	{NULL, 0, NULL, 0},
 };
 
-static char *short_options = "p:fl:dh";
+static const char *short_options = "p:fl:dh";
 
 static void usage(int status)
 {
-- 
1.5.6.5




More information about the sheepdog mailing list