X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=thread.c;h=0f937946f2a1a30d8334ce000e0b66b3122dd4be;hp=bdd676e54ea000cb474214afc56a6ff7d6e3681b;hb=404b6ae11d8c6938a460645bff4adf87246d39a0;hpb=ba5e3af4ea19e1d20c80941c077039871ec84258 diff --git a/thread.c b/thread.c index bdd676e..0f93794 100644 --- a/thread.c +++ b/thread.c @@ -13,6 +13,7 @@ #include "mutt.h" #include "sort.h" +#include "thread.h" #include "lib/mem.h" #include "lib/intl.h" @@ -512,7 +513,7 @@ void mutt_clear_threads (CONTEXT * ctx) hash_destroy (&ctx->thread_hash, free); } -int compare_threads (const void *a, const void *b) +static int compare_threads (const void *a, const void *b) { static sort_t *sort_func = NULL;