X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=options.c;h=16fb365da8a73d0d85a39b48c824f26cdf61ebe1;hb=0541360161a8512d9852c5381ad0ac9953956edd;hp=81f8d2c42306c716a1870473dee6ed6762d5d17c;hpb=98120c2f74691bfe11b47883f27c431d4b9b1de8;p=pkg%2Fabook.git 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;