header.
#include <sys/types.h>
#include <utime.h>
-extern char *ReleaseDate;
/* The folder the user last saved to. Used by ci_save_message() */
static char LastSaveFolder[_POSIX_PATH_MAX] = "";
#define OLDHDR Context->hdrs[Context->v2r[menu->oldcurrent]]
#define UNREAD(h) mutt_thread_contains_unread (Context, h)
-extern const char *ReleaseDate;
extern size_t UngetCount;
void index_make_entry (char *s, size_t l, MUTTMENU *menu, int num)
WHERE char *CurrentFolder;
WHERE char *LastFolder;
+
+WHERE const char *ReleaseDate;
+
WHERE HASH *Groups;
WHERE LIST *AutoViewList INITVAL(0);
WHERE SPAM_LIST *SpamList INITVAL(0);
WHERE RX_LIST *NoSpamList INITVAL(0);
+
/* bit vector for boolean variables */
#ifdef MAIN_C
unsigned char Options[(OPTMAX + 7)/8];
#include "buffy.h"
#include "sort.h"
#include "mutt_crypt.h"
+#include "reldate.h"
#endif /* MAIN_C */
#include "mx.h"
#include "url.h"
-#include "reldate.h"
-
#ifdef USE_IMAP
#include "imap.h"
#endif
if (mode == 0 && !privacy && option (OPTXMAILER) && !has_agent)
{
/* Add a vanity header */
- fprintf (fp, "User-Agent: Mutt/%s\n", MUTT_VERSION);
+ fprintf (fp, "User-Agent: Mutt/%s-%s\n", MUTT_VERSION, ReleaseDate);
}
return (ferror (fp) == 0 ? 0 : -1);