From 4d9278f87fffc1d1fe7e6a2f805a2a8df296bb0d Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 7 Jun 2011 16:14:35 -0500 Subject: Remove global handle variable Signed-off-by: Dan McGee --- lib/libalpm/handle.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/libalpm/handle.c') 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) -- cgit v1.2.3-24-g4f1b