]> diplodocus.org Git - nmh/blobdiff - uip/scansbr.c
crawl_folders.h: Rename to be alongside implementation.
[nmh] / uip / scansbr.c
index ea5cf266d25e194db1d0989cb1a176ceae5e7f9d..38b2ca4174ecc1d7b892837914ec4aba43d4a4e3 100644 (file)
@@ -5,12 +5,18 @@
  * 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/dtime.h"
+#include "scansbr.h"
+#include "sbr/m_name.h"
+#include "sbr/m_gmprot.h"
+#include "sbr/m_getfld.h"
+#include "sbr/getcpy.h"
+#include "sbr/error.h"
+#include "h/addrsbr.h"
+#include "h/fmt_scan.h"
+#include "h/tws.h"
+#include "h/utils.h"
 #include "sbr/terminal.h"
 
 static struct format *fmt;
@@ -284,7 +290,7 @@ body:;
                goto finished;
 
            default: 
-               adios (NULL, "getfld() returned %d", state);
+               die("getfld() returned %d", state);
        }
     }
 
@@ -354,11 +360,13 @@ finished:
 
 /* 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);
 }