Move #include from h/mh.h to source files
[mmh] / sbr / fmt_compile.c
index dd0b52a..d299efc 100644 (file)
@@ -43,6 +43,7 @@
 #include <h/tws.h>
 #include <h/fmt_scan.h>
 #include <h/fmt_compile.h>
+#include <ctype.h>
 
 #ifdef HAVE_SYS_TIME_H
 # include <sys/time.h>
@@ -289,7 +290,7 @@ compile_error(char *str, char *cp)
        }
 
        advise(NULL, "\"%s\": format compile error - %s",
-                  &usr_fstring[errpos-errctx], str);
+                       &usr_fstring[errpos-errctx], str);
        adios(NULL, "%*s", errctx+1, "^");
 }
 
@@ -409,9 +410,7 @@ do_spec(char *sp)
 {
        register char *cp = sp;
        register int c;
-#ifndef lint
        register int ljust = 0;
-#endif /* not lint */
        register int wid = 0;
        register char fill = ' ';