index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Nagy Gabor <ngaba@petra.hos.u-szeged.hu> | 2007-06-18 10:40:23 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-06-26 11:43:02 -0400 |
commit | da66bedf4f98897dfc350195314089028050fa7d (patch) | |
tree | 80dac08de3799f776144731fc1073bc8b6cdeb27 /lib/libalpm/deps.c | |
parent | 2ae043866045bbeef129a4b503ee1f5486545821 (diff) |
-rw-r--r-- | lib/libalpm/deps.c | 5 |
diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c index 66b2d77c..ddb2c336 100644 --- a/lib/libalpm/deps.c +++ b/lib/libalpm/deps.c @@ -219,13 +219,12 @@ alpm_list_t *_alpm_sortbydeps(alpm_list_t *targets, pmtranstype_t mode) } /** Checks dependencies and returns missing ones in a list. Dependencies can include versions with depmod operators. - * @param trans pointer to the transaction object * @param db pointer to the local package database * @param op transaction type * @param packages an alpm_list_t* of packages to be checked * @return an alpm_list_t* of missing_t pointers. */ -alpm_list_t *_alpm_checkdeps(pmtrans_t *trans, pmdb_t *db, pmtranstype_t op, +alpm_list_t *_alpm_checkdeps(pmdb_t *db, pmtranstype_t op, alpm_list_t *packages) { alpm_list_t *i, *j, *k, *l; @@ -592,7 +591,7 @@ int _alpm_resolvedeps(pmdb_t *local, alpm_list_t *dbs_sync, pmpkg_t *syncpkg, _alpm_log(PM_LOG_DEBUG, _("started resolving dependencies")); targ = alpm_list_add(NULL, syncpkg); - deps = _alpm_checkdeps(trans, local, PM_TRANS_TYPE_ADD, targ); + deps = _alpm_checkdeps(local, PM_TRANS_TYPE_ADD, targ); alpm_list_free(targ); if(deps == NULL) { |