X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=muttlib.c;h=1c23817e44175ba87fe40859e933355b520aab73;hp=79fc2c5b77adb0e8f96efac1b78111e3eca7c253;hb=68fabfdd78a08d3896ef25fe99e76c32beb56761;hpb=1c62190597f45fd606cf680df3f6a099b9f7ec18 diff --git a/muttlib.c b/muttlib.c index 79fc2c5..1c23817 100644 --- a/muttlib.c +++ b/muttlib.c @@ -14,7 +14,6 @@ #include #include -#include #include #include @@ -22,6 +21,8 @@ #include "mutt.h" #include "attach.h" +const char *madmutt_version = "Madmutt/" MUTT_VERSION; + /* Modified by blong to accept a "suggestion" for file name. If * that file exists, then construct one with unique name but * keep any extension. This might fail, I guess. @@ -349,8 +350,6 @@ int mutt_save_confirm (const char *s, struct stat *st) } } } - - CLEARLINE(stdscr, LINES - 1); return (ret); } @@ -359,13 +358,6 @@ void mutt_sleep (short s) sleep(MAX(s, SleepTime)); } -const char *mutt_make_version(void) -{ - static char vstring[STRING]; - snprintf(vstring, sizeof (vstring), "Madmutt/%s", MUTT_VERSION); - return vstring; -} - /* return 1 if address lists are strictly identical */ static int mutt_cmp_addr (const address_t * a, const address_t * b) {