commit | 6ad96ea16ee54578391bb4ca88d047ac9d3654fc | [log] [tgz] |
---|---|---|
author | hasso <hasso> | Thu Oct 07 19:33:46 2004 +0000 |
committer | hasso <hasso> | Thu Oct 07 19:33:46 2004 +0000 |
tree | 7a09427aaafcc48fe644ed4c2e6804005732b88f | |
parent | 015253c3f14cacad85a761fae0259ad32f083d4a [diff] [blame] |
Make more strings const.
diff --git a/lib/command.c b/lib/command.c index c65e6fa..330470e 100644 --- a/lib/command.c +++ b/lib/command.c
@@ -233,9 +233,10 @@ /* Fetch next description. Used in cmd_make_descvec(). */ char * -cmd_desc_str (char **string) +cmd_desc_str (const char **string) { - char *cp, *start, *token; + const char *cp, *start; + char *token; int strlen; cp = *string;