X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=sort.c;h=979882358a8ca222e82a26ad881ee2319594e5f2;hb=96e4b6de291b2195b26289fb03536acd101c6650;hp=028630b965bf39399fae1dc2acf18b2da74689ce;hpb=0d52617ab7fc6b2d78b5835ad5230edaf5aafa4f;p=apps%2Fmadmutt.git diff --git a/sort.c b/sort.c index 028630b..9798823 100644 --- a/sort.c +++ b/sort.c @@ -11,20 +11,20 @@ # include "config.h" #endif +#include +#include +#include +#include + #include #include #include "mutt.h" +#include "alias.h" #include "sort.h" #include "thread.h" #include "mutt_idna.h" - -#include -#include -#include -#include - #define SORTCODE(x) (Sort & SORT_REVERSE) ? -(x) : x /* function to use as discriminator when normal sort method is equal */ @@ -90,7 +90,7 @@ int compare_subject (const void *a, const void *b) const char *mutt_get_name (address_t * a) { - address_t *ali; + const address_t *ali; const char *name = ""; if (a) {