X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhl.c;h=fdbd67994776fe22be5b9d6bdb9f18cf611c0a74;hb=ecc90fb56b43863f4c33ed62da4abe898b17d7fb;hp=6ef30fbf21c6b5169c25766360afa56addd2cb76;hpb=197f95940cc0860683e6988352f721e6603f9339;p=mmh diff --git a/uip/mhl.c b/uip/mhl.c index 6ef30fb..fdbd679 100644 --- a/uip/mhl.c +++ b/uip/mhl.c @@ -2,11 +2,16 @@ /* * mhl.c -- the nmh message listing program * - * $Id$ + * This code is Copyright (c) 2002, by the authors of nmh. See the + * COPYRIGHT file in the root directory of the nmh distribution for + * complete copyright information. */ #include +/* prototype from mhlsbr.c */ +int mhl (int, char **); + int main (int argc, char **argv) @@ -14,19 +19,6 @@ main (int argc, char **argv) #ifdef LOCALE setlocale(LC_ALL, ""); #endif - return done (mhl (argc, argv)); -} - - -/* - * Cheat: we are loaded with adrparse, which wants a routine called - * OfficialName(). We call adrparse:getm() with the correct arguments - * to prevent OfficialName() from being called. Hence, the following - * is to keep the loader happy. - */ - -char * -OfficialName(char *name) -{ - return name; + done (mhl (argc, argv)); + return 1; }