src/lib/config.c: Fix "cast discards qualifiers	from pointer target type" warnings

src/lib/config.c (vps_parse_opt): Remove const qualifier from
"const char *val" argument, because it may be passed to parsers
which in turn may modify it using strtok(3).

src/lib/config.c (parse_setmode, conf_store_str, parse_meminfo,
parse_ub): Add const qualifier to "char *val" argument.

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Acked-by: Kir Kolyshkin <kir@openvz.org>
2 files changed