X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2Frandom-corpus.c;h=aca694a3c1d364c12d3a0ca2c05984ddda261433;hb=f3edc5dc86a2d819ae92998ccfc5ac507dbbc5b0;hp=790193d2ee3eed2f5b7edbb4b4e7f3637f6f23d4;hpb=f0dfda5c7797f9db81ce35d270fe0ac406c7fca1;p=notmuch diff --git a/test/random-corpus.c b/test/random-corpus.c index 790193d2..aca694a3 100644 --- a/test/random-corpus.c +++ b/test/random-corpus.c @@ -19,7 +19,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program. If not, see http://www.gnu.org/licenses/ . + * along with this program. If not, see https://www.gnu.org/licenses/ . * * Author: David Bremner */ @@ -114,6 +114,25 @@ 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 } +}; + +char *notmuch_requested_db_uuid = NULL; + +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)