X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=options.c;fp=options.c;h=16fb365da8a73d0d85a39b48c824f26cdf61ebe1;hb=19060ad0dca5ed1bbe2af0101882d6c0bbdc6605;hp=81f8d2c42306c716a1870473dee6ed6762d5d17c;hpb=3673109248d9c94b9494c8aa6e9d5b3fe65b552d;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;