X-Git-Url: https://git.librecmc.org/?p=oweals%2Fopkg-lede.git;a=blobdiff_plain;f=libopkg%2Fparse_util.h;h=787750f00273b0a51a82e13301073f74c54239ff;hp=6b7d4993ef0fe4c91abd3355a3fc8ae10928f5d0;hb=1654bcc09d4dd40c492447161103578abb69d500;hpb=53e199e1e927d2c7b51bf3579ce05aadb033df4c diff --git a/libopkg/parse_util.h b/libopkg/parse_util.h index 6b7d499..787750f 100644 --- a/libopkg/parse_util.h +++ b/libopkg/parse_util.h @@ -1,7 +1,7 @@ /* parse_util.h - the opkg package management system Steven M. Ayer - + Copyright (C) 2002 Compaq Computer Corporation This program is free software; you can redistribute it and/or @@ -23,7 +23,7 @@ char *parse_simple(const char *type, const char *line); char **parse_list(const char *raw, unsigned int *count, const char sep, int skip_field); -typedef int (*parse_line_t) (void *, const char *, uint); +typedef int (*parse_line_t) (void *, char *, uint); int parse_from_stream_nomalloc(parse_line_t parse_line, void *item, FILE * fp, uint mask, char **buf0, size_t buf0len);