summaryrefslogtreecommitdiffstats
path: root/src/pacman/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/conf.c')
-rw-r--r--src/pacman/conf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pacman/conf.c b/src/pacman/conf.c
index 21256d77..9b5850d7 100644
--- a/src/pacman/conf.c
+++ b/src/pacman/conf.c
@@ -28,6 +28,9 @@
/* pacman */
#include "conf.h"
+/* global config variable */
+config_t *config = NULL;
+
config_t *config_new(void)
{
config_t *newconfig = calloc(1, sizeof(config_t));