diff options
author | Dan McGee <dan@archlinux.org> | 2011-06-07 23:14:35 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-14 02:41:16 +0200 |
commit | 4d9278f87fffc1d1fe7e6a2f805a2a8df296bb0d (patch) | |
tree | 2db447cd14c08ee93bed9264bc1e1b458f0b9e32 /lib/libalpm/handle.c | |
parent | 52bffd2457b7ba3b6fb08d3aa959ea0b53a45dc8 (diff) | |
download | pacman-4d9278f87fffc1d1fe7e6a2f805a2a8df296bb0d.tar.gz pacman-4d9278f87fffc1d1fe7e6a2f805a2a8df296bb0d.tar.xz |
Remove global handle variable
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/handle.c')
-rw-r--r-- | lib/libalpm/handle.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/libalpm/handle.c b/lib/libalpm/handle.c index 7f3b0e67..3c17e9d4 100644 --- a/lib/libalpm/handle.c +++ b/lib/libalpm/handle.c @@ -37,9 +37,6 @@ #include "trans.h" #include "alpm.h" -/* global var for handle (private to libalpm) */ -pmhandle_t *handle = NULL; - pmhandle_t *_alpm_handle_new() { pmhandle_t *handle; @@ -87,7 +84,6 @@ void _alpm_handle_free(pmhandle_t *handle) FREELIST(handle->ignorepkg); FREELIST(handle->ignoregrp); FREE(handle); - } alpm_cb_log SYMEXPORT alpm_option_get_logcb(pmhandle_t *handle) |