diff uip/mhl.c @ 0:bce86c4163a3

Initial revision
author kono
date Mon, 18 Apr 2005 23:46:02 +0900
parents
children 441a2190cfae
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/uip/mhl.c	Mon Apr 18 23:46:02 2005 +0900
@@ -0,0 +1,34 @@
+/* mhl.c - the MH message listing program */
+#ifndef	lint
+static char ident[] = "@(#)$Id$";
+#endif	/* lint */
+#ifdef LOCALE
+#include	<locale.h>
+#endif
+
+main (argc, argv)
+int     argc;
+char  **argv;
+{
+#ifdef LOCALE
+    setlocale(LC_ALL, "");
+#endif
+#ifdef JAPAN
+    ml_init();
+#endif /* JAPAN */
+    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 (name)
+register char  *name;
+{
+    return name;
+}