From 16086cc85b82452a4ed7ccea6dd3a2218748fa60 Mon Sep 17 00:00:00 2001 From: ak1 Date: Sun, 13 Mar 2005 22:28:26 +0000 Subject: [PATCH] Andreas Krennmair: made mutt-ng compile with tcc (thx mika!) git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@176 e385b8ad-14ed-0310-8656-cc95a2468c6d --- mbox.c | 6 ++++-- thread.c | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/mbox.c b/mbox.c index 71228d9..b459f4e 100644 --- a/mbox.c +++ b/mbox.c @@ -1109,8 +1109,10 @@ int mutt_reopen_mailbox (CONTEXT *ctx, int *index_hint) else { cmp_headers = mbox_strict_cmp_headers; - rc = ((ctx->magic == M_MBOX) ? mbox_parse_mailbox - : mmdf_parse_mailbox) (ctx); + if (ctx->magic == M_MBOX) + rc = mbox_parse_mailbox(ctx); + else + rc = mmdf_parse_mailbox(ctx); } break; diff --git a/thread.c b/thread.c index 0012ec2..29e876d 100644 --- a/thread.c +++ b/thread.c @@ -561,7 +561,7 @@ void mutt_clear_threads (CONTEXT *ctx) ctx->tree = NULL; if (ctx->thread_hash) - hash_destroy (&ctx->thread_hash, *free); + hash_destroy (&ctx->thread_hash, free); } int compare_threads (const void *a, const void *b) @@ -643,7 +643,7 @@ THREAD *mutt_sort_subthreads (THREAD *thread, int init) array[i] = thread; } - qsort ((void *) array, i, sizeof (THREAD *), *compare_threads); + qsort ((void *) array, i, sizeof (THREAD *), compare_threads); /* attach them back together. make thread the last sibling. */ thread = array[0]; -- 2.20.1