pkg_parse: remove const requirement from pkg_parse_line()
authorJo-Philipp Wich <jo@mein.io>
Wed, 15 Mar 2017 00:21:03 +0000 (01:21 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 15 Mar 2017 00:42:49 +0000 (01:42 +0100)
commit1654bcc09d4dd40c492447161103578abb69d500
treeea571c00d8c7d51ef6cb9dcb8cc9f439afbdfa86
parent53e199e1e927d2c7b51bf3579ce05aadb033df4c
pkg_parse: remove const requirement from pkg_parse_line()

To simplify parsing we'd like to be able to modify the passed line buffer
inplace, so remove the const requirement from the pkg_parse_line() argument.

Convert pkg_parse_line's sole user accordingly.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
libopkg/parse_util.h
libopkg/pkg_parse.c
libopkg/pkg_parse.h