summaryrefslogtreecommitdiffstats
path: root/src/pacman/pacman.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-05-05 18:42:42 +0200
committerDan McGee <dan@archlinux.org>2011-05-05 18:48:12 +0200
commit73c74355abf0f6759a2f9a9219ea571444b6495a (patch)
treeb78545a1352bf5b463a2365b024f5605dfb0f0d0 /src/pacman/pacman.h
parentbda208f82325812749396efacf828066947872e5 (diff)
downloadpacman-73c74355abf0f6759a2f9a9219ea571444b6495a.tar.gz
pacman-73c74355abf0f6759a2f9a9219ea571444b6495a.tar.xz
Make config parsing a two-part affair
This ensures we call any alpm_option type functions before registering databases, making sure all paths and other defaults (e.g. sig verification levels) have been set first. This will ensure we can continue to allow crazy config files where [options] doesn't come first. The diffstat on this commit is misleading; view with -w/--ignore-all-space to get a better idea of what needed to be touched. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/pacman.h')
-rw-r--r--src/pacman/pacman.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pacman/pacman.h b/src/pacman/pacman.h
index 77d83d6e..762e112d 100644
--- a/src/pacman/pacman.h
+++ b/src/pacman/pacman.h
@@ -22,8 +22,6 @@
#include <alpm_list.h>
-void cleanup(int ret);
-
/* database.c */
int pacman_database(alpm_list_t *targets);
/* deptest.c */