* complete copyright information.
*/
-#include <h/mh.h>
-#include <h/addrsbr.h>
-#include <h/fmt_scan.h>
-#include <h/scansbr.h>
-#include <h/tws.h>
-#include <h/utils.h>
+#include "h/mh.h"
+#include "sbr/error.h"
+#include "h/addrsbr.h"
+#include "h/fmt_scan.h"
+#include "h/scansbr.h"
+#include "h/tws.h"
+#include "h/utils.h"
#include "sbr/terminal.h"
static struct format *fmt;
goto finished;
default:
- adios (NULL, "getfld() returned %d", state);
+ die("getfld() returned %d", state);
}
}
/* The following two functions allow access to the global gstate above. */
void
-scan_finished(void) {
+scan_finished(void)
+{
m_getfld_state_destroy (&gstate);
}
void
-scan_detect_mbox_style (FILE *f) {
+scan_detect_mbox_style (FILE *f)
+{
m_unknown (&gstate, f);
}