diff options
author | John Hawthorn <john.hawthorn@gmail.com> | 2017-01-31 18:06:42 -0800 |
---|---|---|
committer | John Hawthorn <john.hawthorn@gmail.com> | 2017-01-31 18:25:35 -0800 |
commit | 15b29a48af2175f620d0acad00bac59d2d5d8630 (patch) | |
tree | d6fa3a573b8149d7075a500407e53ad64e806b1f /src/choices.c | |
parent | 0ce32085c7b4f93eb72a5e8524a1d39cd40728d0 (diff) |
Pass options to choices_init
Diffstat (limited to 'src/choices.c')
-rw-r--r-- | src/choices.c | 3 |
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; |