X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhl.c;h=48b8f1dbcdefc9b8c63ba45a1b3b08a3fa3936c9;hp=e37c3ba9dc90b9f3c89195421611d5a09be822e3;hb=0b40f7c1c35770622511eda71ec5353784ea1dc6;hpb=38615191e71744b066425e0c44412b62dbe49cc2 diff --git a/uip/mhl.c b/uip/mhl.c index e37c3ba..48b8f1d 100644 --- a/uip/mhl.c +++ b/uip/mhl.c @@ -1,40 +1,23 @@ - /* - * 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. - */ +** mhl.c -- the nmh message listing program +** +** 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 mhl(int, char **); int -main (int argc, char **argv) +main(int argc, char **argv) { #ifdef LOCALE - setlocale(LC_ALL, ""); + setlocale(LC_ALL, ""); #endif - done (mhl (argc, argv)); - return 1; -} - - -/* - * 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; }