pkg_parse: remove const requirement from pkg_parse_line()
[oweals/opkg-lede.git] / libopkg / pkg_parse.c
index 7017a06b6f10af45d562fcae68225f0bc21bb3c9..adc4e5ea9d0d73d28a0d6e61be781eec207dc43f 100644 (file)
@@ -112,7 +112,7 @@ static char *parse_architecture(pkg_t *pkg, const char *str)
        return pkg_set_architecture(pkg, s, e - s);
 }
 
-int pkg_parse_line(void *ptr, const char *line, uint mask)
+int pkg_parse_line(void *ptr, char *line, uint mask)
 {
        pkg_t *pkg = (pkg_t *) ptr;
        abstract_pkg_t *ab_pkg = NULL;