]> diplodocus.org Git - nmh/blobdiff - uip/whatnow.c
Alter HasSuffixC()'s char * to be const.
[nmh] / uip / whatnow.c
index 0033f8b29d7a70cadeebb7be64707351242ab58b..9f305907430ce3953f3f6239d91b286e8c97767a 100644 (file)
@@ -2,20 +2,18 @@
 /*
  * whatnow.c -- the nmh `WhatNow' shell
  *
- * $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 <h/mh.h>
 
-/* from whatnowsbr.c */
-int WhatNow (int, char **);
-
 
 int
 main (int argc, char **argv)
 {
-#ifdef LOCALE
-    setlocale(LC_ALL, "");
-#endif
+    if (nmh_init(argv[0], 2)) { return 1; }
+
     return WhatNow (argc, argv);
 }