parse: export tuple_find() to private API

feature/tap-sh
William Pitcock 2011-07-24 23:29:33 -05:00
parent 5a56162418
commit f7e81402ce
2 changed files with 2 additions and 1 deletions

View File

@ -38,7 +38,7 @@ tuple_add(pkg_tuple_t *parent, const char *key, const char *value)
return tuple;
}
static char *
char *
tuple_find(pkg_tuple_t *head, const char *key)
{
pkg_tuple_t *node;

1
pkg.h
View File

@ -89,5 +89,6 @@ pkg_t *pkg_find_matching_dep(pkg_dependency_t *dep);
/* parse.c */
pkg_t *parse_file(const char *path);
char *tuple_find(pkg_tuple_t *head, const char *key);
#endif