From 86ca39d15e02dff47b5b0f5bcd0494cf101ce0c1 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sun, 4 Nov 2007 12:05:22 -0600 Subject: 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 --- lib/libalpm/deps.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/libalpm/deps.c') 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; -- cgit v1.2.3-24-g4f1b