summaryrefslogtreecommitdiff
path: root/src/choices.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/choices.c')
-rw-r--r--src/choices.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/choices.c b/src/choices.c
index 6e34fd6..01480cb 100644
--- a/src/choices.c
+++ b/src/choices.c
@@ -5,6 +5,7 @@
#include <unistd.h>
#include <errno.h>
+#include "options.h"
#include "choices.h"
#include "match.h"
@@ -96,7 +97,7 @@ static void choices_reset_search(choices_t *c) {
c->results = NULL;
}
-void choices_init(choices_t *c) {
+void choices_init(choices_t *c, options_t *options) {
c->strings = NULL;
c->results = NULL;