Use xbps_callback_array_iter_in_repolist() and removed dup code.
--HG-- extra : convert_revision : 7eb9c1b3df3fc7fde2ff61ac0cce1d635c3fef18
This commit is contained in:
@@ -47,8 +47,7 @@ xbps_callback_array_iter_in_dict(prop_dictionary_t, const char *,
|
||||
int (*fn)(prop_object_t, void *, bool *),
|
||||
void *);
|
||||
int
|
||||
xbps_callback_array_iter_in_repolist(const char *,
|
||||
int (*fn)(prop_object_t, void *, bool *),
|
||||
xbps_callback_array_iter_in_repolist(int (*fn)(prop_object_t, void *, bool *),
|
||||
void *);
|
||||
/*
|
||||
* Finds a package's dictionary into the main dictionary.
|
||||
|
||||
Reference in New Issue
Block a user