From de36c5fac4ab50259418c3850b6fb25b96b702f3 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 3 Jun 2011 12:23:32 -0500 Subject: 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 --- lib/libalpm/dload.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/libalpm/dload.c') 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 -- cgit v1.2.3-70-g09d2