diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2006-01-05 21:49:42 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2006-01-05 21:49:42 +0000 |
commit | 5fc2e009dccc2075ee87210cd1cb3fda57fbc5d6 (patch) | |
tree | e8476e7c02466147e37872b7a109fb7ae7c39c1e /lib/libalpm/sync.c | |
parent | ef8bbd2ac496604df949e0bce978a3c53dbaede3 (diff) | |
download | pacman-5fc2e009dccc2075ee87210cd1cb3fda57fbc5d6.tar.xz |
- started to rename list_XXX calls to _alpm_list_XXX
- fixed 2 compilation warnings
Diffstat (limited to 'lib/libalpm/sync.c')
-rw-r--r-- | lib/libalpm/sync.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index 25ac6dff..3eadfdf1 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -354,7 +354,7 @@ int sync_prepare(pmtrans_t *trans, pmdb_t *db_local, PMList *dbs_sync, PMList ** pmsyncpkg_t *sync = i->data; list = pm_list_add(list, sync->pkg); } - trail = pm_list_new(); + trail = _alpm_list_new(); /* Resolve targets dependencies */ EVENT(trans, PM_TRANS_EVT_RESOLVEDEPS_START, NULL, NULL); @@ -660,9 +660,9 @@ int sync_commit(pmtrans_t *trans, pmdb_t *db_local) if(trans_addtarget(tr, str) == -1) { goto error; } - /* using list_last() is ok because addtarget() adds the new target at the + /* using _alpm_list_last() is ok because addtarget() adds the new target at the * end of the tr->packages list */ - spkg = pm_list_last(tr->packages)->data; + spkg = _alpm_list_last(tr->packages)->data; if(sync->type == PM_SYNC_TYPE_DEPEND) { /* ORE * if called from makepkg, reason should be set to PM_PKG_REASON_DEPEND */ |