]> diplodocus.org Git - nmh/blobdiff - sbr/fmt_compile.c
whatnow: Remove undocumented printf-formatting of -prompt string.
[nmh] / sbr / fmt_compile.c
index d8d64323fdf77f75bd92ccf12289579859ff10ab..2ad46cf57e9d7efe13c8b4d1ba6d06359e5641fa 100644 (file)
@@ -35,7 +35,7 @@
  *
  * - Add code to fmttest.c to display your new function.
  *
- * - Document the new function in the mh-format(5) man page.
+ * - Document the new function in mh-format(5).
  *
  */
 
@@ -352,7 +352,7 @@ lookup(char *name)
 
     while ((nm = t->name)) {
        if (*nm == c && strcmp (nm, name) == 0)
-           return (ftbl = t);
+           return ftbl = t;
 
        t++;
     }
@@ -488,9 +488,7 @@ do_spec(char *sp)
 {
     char *cp = sp;
     int c;
-#ifndef        lint
     int ljust = 0;
-#endif /* not lint */
     int wid = 0;
     char fill = ' ';