X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/6c42153ad9362cc676ea66563bf400d7511b3b68..95e0df2afa3aa1b2f25d3796f25b65ac3ee5b790:/sbr/cpydgst.c diff --git a/sbr/cpydgst.c b/sbr/cpydgst.c index a1a887af..53923b2a 100644 --- a/sbr/cpydgst.c +++ b/sbr/cpydgst.c @@ -3,8 +3,6 @@ * 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. @@ -37,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; @@ -53,8 +51,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')