]> diplodocus.org Git - nmh/blobdiff - sbr/cpydgst.c
Don't `else' after goto. Simplify control flow.
[nmh] / sbr / cpydgst.c
index 068fb6e89190282d9a0b1193fece05648c3214f0..55df3fc68d0ee3a14b4eb913e41e0e1daed908a1 100644 (file)
@@ -3,7 +3,9 @@
  * cpydgst.c -- copy from one fd to another in encapsulating mode
  *           -- (do dashstuffing of input data).
  *
- * $Id$
+ * This code is Copyright (c) 2002, by the authors of nmh.  See the
+ * COPYRIGHT file in the root directory of the nmh distribution for
+ * complete copyright information.
  */
 
 #include <h/mh.h>
@@ -33,9 +35,9 @@
 void
 cpydgst (int in, int out, char *ifile, char *ofile)
 {
-    register int i, j, state;
-    register char *cp, *ep;
-    register char *bp, *dp;
+    int i, j, state;
+    char *cp, *ep;
+    char *bp, *dp;
     char buffer[BUFSIZ], outbuf[BUFSIZ];
 
     dp = (bp = outbuf) + sizeof outbuf;