summaryrefslogtreecommitdiffstats
path: root/src/pacman/callback.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-11-04 19:05:22 +0100
committerDan McGee <dan@archlinux.org>2007-11-04 19:05:22 +0100
commit86ca39d15e02dff47b5b0f5bcd0494cf101ce0c1 (patch)
tree4475913a7dd0fe5facbe9bed369aba34f67134aa /src/pacman/callback.c
parent006387828cbdd11e6307879ad27e9bb9409ca193 (diff)
downloadpacman-86ca39d15e02dff47b5b0f5bcd0494cf101ce0c1.tar.gz
pacman-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 'src/pacman/callback.c')
-rw-r--r--src/pacman/callback.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pacman/callback.c b/src/pacman/callback.c
index ccc482f8..a68b0a48 100644
--- a/src/pacman/callback.c
+++ b/src/pacman/callback.c
@@ -40,8 +40,6 @@
#define LOG_STR_LEN 256
#define FILENAME_TRIM_LEN 23
-extern config_t *config;
-
/* download progress bar */
static float rate_last;
static int xfered_last;