summaryrefslogtreecommitdiff
path: root/lib/libalpm/diskspace.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-03 12:23:32 -0500
committerDan McGee <dan@archlinux.org>2011-06-03 12:23:32 -0500
commitde36c5fac4ab50259418c3850b6fb25b96b702f3 (patch)
tree91f4e9a93314afd3e60ce23990a05e84cb746658 /lib/libalpm/diskspace.c
parent7f98460e37bc032b58ca7c82e70c357aa39370f8 (diff)
downloadpacman-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/diskspace.c')
-rw-r--r--lib/libalpm/diskspace.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libalpm/diskspace.c b/lib/libalpm/diskspace.c
index 102b42c6..f864518e 100644
--- a/lib/libalpm/diskspace.c
+++ b/lib/libalpm/diskspace.c
@@ -51,6 +51,9 @@
#include "trans.h"
#include "handle.h"
+/* global handle variable */
+extern pmhandle_t *handle;
+
static int mount_point_cmp(const void *p1, const void *p2)
{
const alpm_mountpoint_t *mp1 = p1;