diff options
author | Dan McGee <dan@archlinux.org> | 2011-08-25 16:40:39 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-28 19:52:19 -0500 |
commit | dc3336c27728fc16d2f9e68cb818648e7ca88467 (patch) | |
tree | a0d06285caa82e56ea917673868e2080f5f7b1ca /lib/libalpm/package.h | |
parent | c7e4005e5ced965db49d73067fe40c516b6c34df (diff) | |
download | pacman-dc3336c27728fc16d2f9e68cb818648e7ca88467.tar.xz |
Refactor some args out of pkg_load_internal
Just pass the entire sync package in if we have it; that way we can do
any necessary operations involving it rather than have a parameter list
growing endlessly.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/package.h')
-rw-r--r-- | lib/libalpm/package.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h index 25d1b1a6..707405dd 100644 --- a/lib/libalpm/package.h +++ b/lib/libalpm/package.h @@ -150,8 +150,7 @@ void _alpm_pkg_free_trans(alpm_pkg_t *pkg); alpm_pkg_t *_alpm_pkg_load_internal(alpm_handle_t *handle, const char *pkgfile, - int full, const char *md5sum, const char *sha256sum, const char *base64_sig, - alpm_siglevel_t level); + alpm_pkg_t *syncpkg, int full, alpm_siglevel_t level); int _alpm_pkg_cmp(const void *p1, const void *p2); int _alpm_pkg_compare_versions(alpm_pkg_t *local_pkg, alpm_pkg_t *pkg); |