X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=muttlib.c;h=1c23817e44175ba87fe40859e933355b520aab73;hp=fbbd6e628c4e8576e62b945fe6bacf3854535f25;hb=8d0d7180fa5c7862e74027b497adab1f427f0020;hpb=dc726add2e8fe52be1f6859ea7cbe4651498eeb8 diff --git a/muttlib.c b/muttlib.c index fbbd6e6..1c23817 100644 --- a/muttlib.c +++ b/muttlib.c @@ -21,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. @@ -356,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) {