diff options
author | Dan McGee <dan@archlinux.org> | 2007-11-04 12:05:22 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-11-04 12:05:22 -0600 |
commit | 86ca39d15e02dff47b5b0f5bcd0494cf101ce0c1 (patch) | |
tree | 4475913a7dd0fe5facbe9bed369aba34f67134aa /src/pacman/query.c | |
parent | 006387828cbdd11e6307879ad27e9bb9409ca193 (diff) |
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/query.c')
-rw-r--r-- | src/pacman/query.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pacman/query.c b/src/pacman/query.c index 42e163ef..ed48799c 100644 --- a/src/pacman/query.c +++ b/src/pacman/query.c @@ -38,7 +38,6 @@ #include "conf.h" #include "util.h" -extern config_t *config; extern pmdb_t *db_local; static char *resolve_path(const char* file) |