index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/provide.c | 6 |
diff --git a/lib/libalpm/provide.c b/lib/libalpm/provide.c index 17bf6454..bca6b7da 100644 --- a/lib/libalpm/provide.c +++ b/lib/libalpm/provide.c @@ -39,11 +39,11 @@ PMList *_alpm_db_whatprovides(pmdb_t *db, char *package) return(NULL); } - for(lp = db_get_pkgcache(db); lp; lp = lp->next) { + for(lp = _alpm_db_get_pkgcache(db); lp; lp = lp->next) { pmpkg_t *info = lp->data; - if(pm_list_is_strin(package, info->provides)) { - pkgs = pm_list_add(pkgs, info); + if(_alpm_list_is_strin(package, info->provides)) { + pkgs = _alpm_list_add(pkgs, info); } } |