From ea9d93d44bb35ce90cd7286005ec66014c1b260b Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Mon, 15 Apr 2024 08:34:08 +0200 Subject: [PATCH] [test] Make compilable test mailcap-cache. Refs #298 --- src/mime/backend/mailcap.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/mime/backend/mailcap.c b/src/mime/backend/mailcap.c index dfd2d02a1..a8c3a2979 100644 --- a/src/mime/backend/mailcap.c +++ b/src/mime/backend/mailcap.c @@ -795,6 +795,22 @@ struct module mailcap_mime_module = struct_module( #include "util/test.h" +struct option *cmdline_options; + +#ifdef CONFIG_DEBUG +union option_value * +get_opt_(char *a, int, enum option_type b, struct option *c, const char *d, struct session *e) +{ + return NULL; +} +#else +union option_value * +get_opt_(struct option *a , const char *b, struct session *c) +{ + return NULL; +} +#endif + char *get_ui_clipboard_file(void) { return NULL; } /* Some ugly shortcuts for getting defined symbols to work. */