diff options
| author | David Bremner <david@tethera.net> | 2021-02-27 10:07:45 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-04-06 21:32:36 -0300 |
| commit | 1c747a501c0ed7df5eaa2b994b9ad11d8981c62c (patch) | |
| tree | 2733f1196cab13dfe4b46eb577bb408f0646b9a0 /notmuch-search.c | |
| parent | ec4b7efbe4bd6d50bd6046bac5f7ef4ceaa30154 (diff) | |
CLI: drop notmuch_config_t from subcommand interface.
At this point it is unused in all subcommands.
Diffstat (limited to 'notmuch-search.c')
| -rw-r--r-- | notmuch-search.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/notmuch-search.c b/notmuch-search.c index a5c49477..244817a9 100644 --- a/notmuch-search.c +++ b/notmuch-search.c @@ -794,8 +794,7 @@ static const notmuch_opt_desc_t common_options[] = { }; int -notmuch_search_command (unused(notmuch_config_t *config), notmuch_database_t *notmuch, - int argc, char *argv[]) +notmuch_search_command (notmuch_database_t *notmuch, int argc, char *argv[]) { search_context_t *ctx = &search_context; int opt_index, ret; @@ -862,8 +861,7 @@ notmuch_search_command (unused(notmuch_config_t *config), notmuch_database_t *no } int -notmuch_address_command (unused(notmuch_config_t *config), notmuch_database_t *notmuch, - int argc, char *argv[]) +notmuch_address_command (notmuch_database_t *notmuch, int argc, char *argv[]) { search_context_t *ctx = &search_context; int opt_index, ret; |
