Use xbps_callback_array_iter_in_repolist() and removed dup code.

--HG--
extra : convert_revision : 7eb9c1b3df3fc7fde2ff61ac0cce1d635c3fef18
This commit is contained in:
Juan RP
2009-02-14 02:26:11 +01:00
parent 90fd3828e6
commit 83ed100fcf
4 changed files with 16 additions and 57 deletions

View File

@@ -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.