From: Jaakko Heinonen Date: Mon, 7 Aug 2006 11:39:53 +0000 (+0000) Subject: - fix compile warnings X-Git-Tag: upstream/0.6.1~2^2~113 X-Git-Url: https://git.deb.at/w?p=pkg%2Fabook.git;a=commitdiff_plain;h=19060ad0dca5ed1bbe2af0101882d6c0bbdc6605 - fix compile warnings --- diff --git a/options.c b/options.c index 81f8d2c..16fb365 100644 --- a/options.c +++ b/options.c @@ -317,7 +317,7 @@ opt_set_set_option(char *p, struct option *opt) return NULL; } -static char * +static const char * opt_set_option(char *var, char *p) { int i; @@ -386,7 +386,7 @@ opt_parse_customfield(buffer *b) /* * syntax: view = [ , , ... ] */ -static char * +static const char * opt_parse_view(buffer *b) { char *err, *view; @@ -416,7 +416,7 @@ opt_parse_view(buffer *b) /* * syntax: field = [ , ] */ -static char * +static const char * opt_parse_field(buffer *b) { char *err, *field, *name;