]> diplodocus.org Git - nmh/blobdiff - uip/scansbr.c
Don't have `static' of a function definition on its own line.
[nmh] / uip / scansbr.c
index bbc5a1680b3dddfce48be5843e30dff2b08d4e6e..a4508c02ab742d1be11a36e5cbb1171e89c9515a 100644 (file)
@@ -11,7 +11,7 @@
 #include <h/scansbr.h>
 #include <h/tws.h>
 #include <h/utils.h>
-#include "../sbr/terminal.h"
+#include "sbr/terminal.h"
 
 static struct format *fmt;
 static struct comp *datecomp;          /* pntr to "date" comp             */
@@ -284,7 +284,7 @@ body:;
                goto finished;
 
            default: 
-               adios (NULL, "getfld() returned %d", state);
+               die("getfld() returned %d", state);
        }
     }
 
@@ -348,17 +348,19 @@ finished:
     if (scnout && (ferror(scnout) || fclose (scnout) == EOF))
        DIEWRERR();
 
-    return (state != FILEEOF ? SCNERR : encrypted ? SCNENC : SCNMSG);
+    return state != FILEEOF ? SCNERR : encrypted ? SCNENC : SCNMSG;
 }
 
 
 /* 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);
 }