Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/provide.c
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2006-02-17 22:35:26 +0000
committerAurelien Foret <aurelien@archlinux.org>2006-02-17 22:35:26 +0000
commitbe39f49a5461d5804e4391266dfea6dd076691f4 (patch)
tree911a7f550895d9fdda7b4846d6775699549b2bf4 /lib/libalpm/provide.c
parent5e4c3661c6066623bbfa34bacccfafda5be21315 (diff)
prepend library function names with _alpm (helped with the patch from VMiklos <vmiklos@frugalware.org>)
added log and event callbacks to sync_commit internal transactions
Diffstat (limited to 'lib/libalpm/provide.c')
-rw-r--r--lib/libalpm/provide.c6
1 files changed, 3 insertions, 3 deletions
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);
}
}