X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/ec18722d02bd307bd09f30715dc8ba4e1b8a6716..827facc0fe3f6f0ef2a9e81917d2eb29fac209aa:/sbr/seq_read.c diff --git a/sbr/seq_read.c b/sbr/seq_read.c index 39192605..c0043350 100644 --- a/sbr/seq_read.c +++ b/sbr/seq_read.c @@ -6,8 +6,13 @@ * complete copyright information. */ -#include -#include +#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 */ }