]> diplodocus.org Git - nmh/blobdiff - sbr/cpydgst.c
atooi.c: Move interface to own file.
[nmh] / sbr / cpydgst.c
index 55df3fc68d0ee3a14b4eb913e41e0e1daed908a1..60dc78a8797f6090de04ec6044103d4a0b289602 100644 (file)
@@ -1,6 +1,4 @@
-
-/*
- * cpydgst.c -- copy from one fd to another in encapsulating mode
+/* cpydgst.c -- copy from one fd to another in encapsulating mode
  *           -- (do dashstuffing of input data).
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
@@ -8,7 +6,8 @@
  * complete copyright information.
  */
 
-#include <h/mh.h>
+#include "h/mh.h"
+#include "error.h"
 
 /*
  * We want to perform the substitution
@@ -51,8 +50,8 @@ cpydgst (int in, int out, char *ifile, char *ofile)
                        output ('-');
                        output (' ');
                    }
-                   state = S2; /* fall */
-
+                   state = S2;
+                   /* FALLTHRU */
                case S2: 
                    output (*cp);
                    if (*cp == '\n')