#include <h/fmt_scan.h>
#include <h/tws.h>
#include <h/fmt_compile.h>
+#include <ctype.h>
+#include <sysexits.h>
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
cptrimmed(&cp, str, fmt->f_width, fmt->f_fill, ep - cp);
break;
case FT_STRFW:
- adios(NULL, "internal error (FT_STRFW)");
+ adios(EX_SOFTWARE, NULL, "internal error (FT_STRFW)");
case FT_NUM:
n = snprintf(cp, ep - cp + 1, "%d", value);
indent = strlen(sp);
wid -= indent;
if (wid <= 0) {
- adios(NULL, "putaddr -- num register (%d) "
+ adios(EX_SOFTWARE, NULL, "putaddr -- num register (%d) "
"must be greater than label "
"width (%d)", value, indent);
}