diff options
author | Dan McGee <dan@archlinux.org> | 2011-06-03 19:23:32 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-03 19:23:32 +0200 |
commit | de36c5fac4ab50259418c3850b6fb25b96b702f3 (patch) | |
tree | 91f4e9a93314afd3e60ce23990a05e84cb746658 /lib/libalpm/dload.c | |
parent | 7f98460e37bc032b58ca7c82e70c357aa39370f8 (diff) | |
download | pacman-de36c5fac4ab50259418c3850b6fb25b96b702f3.tar.gz pacman-de36c5fac4ab50259418c3850b6fb25b96b702f3.tar.xz |
Push down extern handle variable to files that need it
This will make the patching process less invasive as we start to remove
this variable from all source files.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/dload.c')
-rw-r--r-- | lib/libalpm/dload.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c index 9583b363..8591c9d5 100644 --- a/lib/libalpm/dload.c +++ b/lib/libalpm/dload.c @@ -42,6 +42,9 @@ #include "util.h" #include "handle.h" +/* global handle variable */ +extern pmhandle_t *handle; + #ifdef HAVE_LIBCURL static double prevprogress; /* last download amount */ #endif |