diff options
author | Vincent Labrecque <vincent@cvs.openbsd.org> | 2002-07-01 14:33:45 +0000 |
---|---|---|
committer | Vincent Labrecque <vincent@cvs.openbsd.org> | 2002-07-01 14:33:45 +0000 |
commit | 71da5f1d37bd5729124da3b8463f6a40f4bcf32a (patch) | |
tree | 5600e9a19938d9748a59389c7d3344fdbf94f478 /usr.bin/mg/echo.c | |
parent | 63f71dfa7943dfa479d153789b8501d6cd17a098 (diff) |
KNF + ansi; from zyrnix (only the easy part of his diffs)
Diffstat (limited to 'usr.bin/mg/echo.c')
-rw-r--r-- | usr.bin/mg/echo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mg/echo.c b/usr.bin/mg/echo.c index 793b3603f20..a8b00847e28 100644 --- a/usr.bin/mg/echo.c +++ b/usr.bin/mg/echo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: echo.c,v 1.21 2002/03/11 13:02:56 vincent Exp $ */ +/* $OpenBSD: echo.c,v 1.22 2002/07/01 14:33:44 vincent Exp $ */ /* * Echo line reading and writing. @@ -194,7 +194,7 @@ veread(const char *fp, char *buf, int nbuf, int flag, va_list ap) switch (c) { case CCHR('J'): c = CCHR('M'); - /* and continue */ + /* FALLTHROUGH */ case CCHR('M'): /* return, done */ if ((flag & EFFUNC) != 0) { if ((i = complt(flag, c, buf, cpos)) == 0) @@ -288,7 +288,7 @@ veread(const char *fp, char *buf, int nbuf, int flag, va_list ap) case CCHR('\\'): case CCHR('Q'): /* quote next */ c = getkey(FALSE); - /* and continue */ + /* FALLTHROUGH */ default: /* all the rest */ if (cpos < nbuf - 1) { buf[cpos++] = (char)c; |