X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhl.c;h=7914b5fee192b2aa4373e1e430a7499f6b2304d1;hp=4c9e5e0fda74a13e744b1c4cffb4d11f897f4ca4;hb=a485ed478abbd599d8c9aab48934e7a26733ecb1;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b diff --git a/uip/mhl.c b/uip/mhl.c index 4c9e5e0..7914b5f 100644 --- a/uip/mhl.c +++ b/uip/mhl.c @@ -1,32 +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. */ #include +/* prototype from mhlsbr.c */ +int mhl (int, char **); + int main (int argc, char **argv) { #ifdef LOCALE - setlocale(LC_ALL, ""); + setlocale(LC_ALL, ""); #endif - 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; }