summaryrefslogtreecommitdiff
path: root/lib/libalpm/deps.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-11-04 12:05:22 -0600
committerDan McGee <dan@archlinux.org>2007-11-04 12:05:22 -0600
commit86ca39d15e02dff47b5b0f5bcd0494cf101ce0c1 (patch)
tree4475913a7dd0fe5facbe9bed369aba34f67134aa /lib/libalpm/deps.c
parent006387828cbdd11e6307879ad27e9bb9409ca193 (diff)
downloadpacman-86ca39d15e02dff47b5b0f5bcd0494cf101ce0c1.tar.xz
Clean up usage of extern variables
Instead of declaring the extern variable in every *.c file, include it in the header file that makes sense. This means handle.h for the handle, and conf.h for the pacman side config object. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/deps.c')
-rw-r--r--lib/libalpm/deps.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c
index a9de1612..d8cb0d67 100644
--- a/lib/libalpm/deps.c
+++ b/lib/libalpm/deps.c
@@ -39,8 +39,6 @@
#include "provide.h"
#include "handle.h"
-extern pmhandle_t *handle;
-
static pmgraph_t *_alpm_graph_new(void)
{
pmgraph_t *graph = NULL;