diff options
author | Dan McGee <dan@archlinux.org> | 2011-06-07 20:39:52 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-09 21:24:45 +0200 |
commit | ff8e519d4b011a6f23c0366d45c396fcd1f9af97 (patch) | |
tree | 6f2bf414a30d7b1868dc113997e9fc03d32704c8 /lib/libalpm/sync.c | |
parent | 7d27cf8364b9c5d9a8d89017173f8c88d40cedd5 (diff) | |
download | pacman-ff8e519d4b011a6f23c0366d45c396fcd1f9af97.tar.gz pacman-ff8e519d4b011a6f23c0366d45c396fcd1f9af97.tar.xz |
Require handle for alpm_sync_sysupgrade()
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/sync.c')
-rw-r--r-- | lib/libalpm/sync.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index 41f9f996..16be6d9a 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -50,9 +50,6 @@ #include "diskspace.h" #include "signing.h" -/* global handle variable */ -extern pmhandle_t *handle; - /** Check for new version of pkg in sync repos * (only the first occurrence is considered in sync) */ @@ -85,7 +82,7 @@ pmpkg_t SYMEXPORT *alpm_sync_newversion(pmpkg_t *pkg, alpm_list_t *dbs_sync) } /** Search for packages to upgrade and add them to the transaction. */ -int SYMEXPORT alpm_sync_sysupgrade(int enable_downgrade) +int SYMEXPORT alpm_sync_sysupgrade(pmhandle_t *handle, int enable_downgrade) { alpm_list_t *i, *j, *k; pmtrans_t *trans; |