]> diplodocus.org Git - nmh/blobdiff - sbr/seq_read.c
fmt_rfc2047.c: Move interface to own file.
[nmh] / sbr / seq_read.c
index 39192605ffd3544b846e1388f2c0cfd6a1e7cdd7..c00433508602b5de2fa5874ea2002659f1b8dbdf 100644 (file)
@@ -6,8 +6,13 @@
  * complete copyright information.
  */
 
-#include <h/mh.h>
-#include <h/utils.h>
+#include "h/mh.h"
+#include "trimcpy.h"
+#include "getcpy.h"
+#include "m_atoi.h"
+#include "brkstring.h"
+#include "error.h"
+#include "h/utils.h"
 #include "lock_file.h"
 
 /*
@@ -103,7 +108,7 @@ seq_public (struct msgs *mp, int lockflag, int *failed_to_lock)
 
            case BODY:
                lkfclosedata (fp, seqfile);
-               adios (NULL, "no blank lines are permitted in %s", seqfile);
+               die("no blank lines are permitted in %s", seqfile);
                break;
 
            case FILEEOF:
@@ -111,7 +116,7 @@ seq_public (struct msgs *mp, int lockflag, int *failed_to_lock)
 
            default: 
                lkfclosedata (fp, seqfile);
-               adios (NULL, "%s is poorly formatted", seqfile);
+               die("%s is poorly formatted", seqfile);
        }
        break;  /* break from for loop */
     }