summaryrefslogtreecommitdiffstats
path: root/mbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbox.c')
-rw-r--r--mbox.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mbox.c b/mbox.c
index 823c8e9c..da692100 100644
--- a/mbox.c
+++ b/mbox.c
@@ -577,7 +577,7 @@ int mbox_strict_cmp_headers (const HEADER *h1, const HEADER *h2)
* 0 no change
* -1 error
*/
-int mbox_check_mailbox (CONTEXT *ctx, int *index_hint)
+static int mbox_check_mailbox (CONTEXT *ctx, int *index_hint)
{
struct stat st;
char buffer[LONG_STRING];
@@ -1273,10 +1273,12 @@ struct mx_ops mx_mbox_ops = {
.open = mbox_open_mailbox,
.close = mbox_close_mailbox,
.open_new_msg = mbox_open_new_message,
+ .check = mbox_check_mailbox,
};
struct mx_ops mx_mmdf_ops = {
.open = mbox_open_mailbox,
.close = mbox_close_mailbox,
.open_new_msg = mbox_open_new_message,
+ .check = mbox_check_mailbox,
};