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/be_package.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/libalpm/be_package.c') diff --git a/lib/libalpm/be_package.c b/lib/libalpm/be_package.c index a3d5304d..c70d1e9a 100644 --- a/lib/libalpm/be_package.c +++ b/lib/libalpm/be_package.c @@ -36,6 +36,9 @@ #include "package.h" #include "deps.h" /* _alpm_splitdep */ +/* global handle variable */ +extern pmhandle_t *handle; + /** * Open a package changelog for reading. Similar to fopen in functionality, * except that the returned 'file stream' is from an archive. -- cgit v1.2.3-24-g4f1b