Refactor some args out of pkg_load_internal
commitdc3336c27728fc16d2f9e68cb818648e7ca88467
authorDan McGee <dan@archlinux.org>
Thu, 25 Aug 2011 21:40:39 +0000 (25 16:40 -0500)
committerDan McGee <dan@archlinux.org>
Mon, 29 Aug 2011 00:52:19 +0000 (28 19:52 -0500)
treea0d06285caa82e56ea917673868e2080f5f7b1ca
parentc7e4005e5ced965db49d73067fe40c516b6c34df
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>
lib/libalpm/be_package.c
lib/libalpm/package.h
lib/libalpm/sync.c