diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2013-10-25 23:20:24 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-10-31 16:20:03 +1000 |
commit | c3493360afdc4e74558f1a8016cdb3164f9dbc8f (patch) | |
tree | 1529b260773bda789916d23f89094c196c22ec61 /lib/libalpm/deps.h | |
parent | 08191b13f2911b5f371824fbc224fe66c336bc76 (diff) | |
download | pacman-c3493360afdc4e74558f1a8016cdb3164f9dbc8f.tar.xz |
deps.c: pass alpm_list** to _alpm_recursedeps
Improves consistency and makes it clear that targs will be modified by
_alpm_recursedeps.
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/deps.h')
-rw-r--r-- | lib/libalpm/deps.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/deps.h b/lib/libalpm/deps.h index 8cf5ad22..d5ca236d 100644 --- a/lib/libalpm/deps.h +++ b/lib/libalpm/deps.h @@ -32,7 +32,7 @@ alpm_depend_t *_alpm_dep_dup(const alpm_depend_t *dep); void _alpm_depmiss_free(alpm_depmissing_t *miss); alpm_list_t *_alpm_sortbydeps(alpm_handle_t *handle, alpm_list_t *targets, alpm_list_t *ignore, int reverse); -int _alpm_recursedeps(alpm_db_t *db, alpm_list_t *targs, int include_explicit); +int _alpm_recursedeps(alpm_db_t *db, alpm_list_t **targs, int include_explicit); int _alpm_resolvedeps(alpm_handle_t *handle, alpm_list_t *localpkgs, alpm_pkg_t *pkg, alpm_list_t *preferred, alpm_list_t **packages, alpm_list_t *remove, alpm_list_t **data); |