summaryrefslogtreecommitdiff
path: root/lib/libalpm/remove.c
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2006-01-05 21:49:42 +0000
committerAurelien Foret <aurelien@archlinux.org>2006-01-05 21:49:42 +0000
commit5fc2e009dccc2075ee87210cd1cb3fda57fbc5d6 (patch)
treee8476e7c02466147e37872b7a109fb7ae7c39c1e /lib/libalpm/remove.c
parentef8bbd2ac496604df949e0bce978a3c53dbaede3 (diff)
downloadpacman-5fc2e009dccc2075ee87210cd1cb3fda57fbc5d6.tar.xz
- started to rename list_XXX calls to _alpm_list_XXX
- fixed 2 compilation warnings
Diffstat (limited to 'lib/libalpm/remove.c')
-rw-r--r--lib/libalpm/remove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c
index 7462fa2d..7356870b 100644
--- a/lib/libalpm/remove.c
+++ b/lib/libalpm/remove.c
@@ -164,7 +164,7 @@ int remove_commit(pmtrans_t *trans, pmdb_t *db)
_alpm_log(PM_LOG_FLOW1, "removing files");
/* iterate through the list backwards, unlinking files */
- for(lp = pm_list_last(info->files); lp; lp = lp->prev) {
+ for(lp = _alpm_list_last(info->files); lp; lp = lp->prev) {
int nb = 0;
char *file = lp->data;
char *md5 =_alpm_needbackup(lp->data, info->backup);