From be39f49a5461d5804e4391266dfea6dd076691f4 Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Fri, 17 Feb 2006 22:35:26 +0000 Subject: prepend library function names with _alpm (helped with the patch from VMiklos ) added log and event callbacks to sync_commit internal transactions --- lib/libalpm/provide.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libalpm/provide.c') 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); } } -- cgit v1.2.3