diff --git a/src/package-query.c b/src/package-query.c index b185f72..7c0e9df 100644 --- a/src/package-query.c +++ b/src/package-query.c @@ -46,6 +46,8 @@ need |= N_TARGET | N_DB; } while (0) extern char *optarg; extern int optind; +aq_config config; + static alpm_list_t *targets = NULL; static void cleanup (int ret) diff --git a/src/util.h b/src/util.h index dface4f..d37a093 100644 --- a/src/util.h +++ b/src/util.h @@ -143,7 +143,7 @@ typedef struct _aq_config bool rsort; } aq_config; -aq_config config; +extern aq_config config; /* * Target type