X-Git-Url: https://git.cworth.org/git?p=notmuch;a=blobdiff_plain;f=test%2Frandom-corpus.c;h=b377eb40bfdce0964880e736f493f33f3e2066d0;hp=790193d2ee3eed2f5b7edbb4b4e7f3637f6f23d4;hb=447ad6b4984c71881b7f97641c77f0a39b71a991;hpb=0018a8d787a98f80c665061daa9b0c73839d3666 diff --git a/test/random-corpus.c b/test/random-corpus.c index 790193d2..b377eb40 100644 --- a/test/random-corpus.c +++ b/test/random-corpus.c @@ -114,6 +114,23 @@ random_utf8_string (void *ctx, size_t char_count) return buf; } +/* stubs since we cannot link with notmuch.o */ +const notmuch_opt_desc_t notmuch_shared_options[] = { + { 0, 0, 0, 0, 0 } +}; + +void +notmuch_process_shared_options (unused (const char *dummy)) +{ +} + +int +notmuch_minimal_options (unused (const char *subcommand), + unused (int argc), + unused (char **argv)) +{ + return 0; +} int main (int argc, char **argv)