From: Timo Sirainen Date: Wed, 27 May 2009 00:43:57 +0000 (-0400) Subject: mail-transaction-log-view compiling fix. X-Git-Tag: 2.0.alpha1~654 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c6ef22c079487fadc941d8670dbf314cefee3326;p=thirdparty%2Fdovecot%2Fcore.git mail-transaction-log-view compiling fix. --HG-- branch : HEAD --- diff --git a/src/lib-index/test-mail-transaction-log-view.c b/src/lib-index/test-mail-transaction-log-view.c index 92cf963ef4..98bf4b3227 100644 --- a/src/lib-index/test-mail-transaction-log-view.c +++ b/src/lib-index/test-mail-transaction-log-view.c @@ -1,7 +1,8 @@ /* Copyright (c) 2009 Dovecot authors, see the included COPYING file */ -#include "test-index.h" +#include "lib.h" #include "array.h" +#include "test-common.h" #include "mail-index-private.h" #include "mail-transaction-log-view-private.h" @@ -111,7 +112,7 @@ add_append_record(struct mail_transaction_log_file *file, return size; } -void test_transaction_log_view(void) +static void test_mail_transaction_log_view(void) { const struct mail_transaction_header *hdr; const struct mail_index_record *rec; @@ -207,7 +208,7 @@ void test_transaction_log_view(void) int main(void) { static void (*test_functions[])(void) = { - test_transaction_log_view, + test_mail_transaction_log_view, NULL }; return test_run(test_functions);