aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>2002-08-25 13:01:47 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>2002-08-25 13:01:47 +0000
commit0d9f1a69d88eaf647c139cce44c6da1df9a639a6 (patch)
tree956af2bc985558970e580524f3f7b43cb8eea5c3 /bin
parent798fb624324a115ba76805d37efb18446123c721 (diff)
downloadsrc-0d9f1a69d88eaf647c139cce44c6da1df9a639a6.tar.gz
src-0d9f1a69d88eaf647c139cce44c6da1df9a639a6.zip
Replace various spellings with FALLTHROUGH which is lint()able
Notes
Notes: svn path=/head/; revision=102410
Diffstat (limited to 'bin')
-rw-r--r--bin/ed/main.c4
-rw-r--r--bin/ls/ls.c20
-rw-r--r--bin/sh/expand.c2
-rw-r--r--bin/sh/parser.c2
4 files changed, 14 insertions, 14 deletions
diff --git a/bin/ed/main.c b/bin/ed/main.c
index 349dbbf22049..2cebaf89d2c5 100644
--- a/bin/ed/main.c
+++ b/bin/ed/main.c
@@ -355,7 +355,7 @@ next_addr(void)
addr = addr_last;
break;
}
- /* FALL THROUGH */
+ /* FALLTHROUGH */
default:
if (ibufp == hd)
return EOF;
@@ -489,7 +489,7 @@ exec_command(void)
case 'e':
if (modified && !scripted)
return EMOD;
- /* fall through */
+ /* FALLTHROUGH */
case 'E':
if (addr_cnt > 0) {
errmsg = "unexpected address";
diff --git a/bin/ls/ls.c b/bin/ls/ls.c
index 5884ee49eec1..71158deead22 100644
--- a/bin/ls/ls.c
+++ b/bin/ls/ls.c
@@ -565,36 +565,36 @@ display(FTSENT *p, FTSENT *list)
switch (ninitmax) {
case 0:
maxinode = 0;
- /* fall through */
+ /* FALLTHROUGH */
case 1:
maxblock = 0;
- /* fall through */
+ /* FALLTHROUGH */
case 2:
maxnlink = 0;
- /* fall through */
+ /* FALLTHROUGH */
case 3:
maxuser = 0;
- /* fall through */
+ /* FALLTHROUGH */
case 4:
maxgroup = 0;
- /* fall through */
+ /* FALLTHROUGH */
case 5:
maxflags = 0;
- /* fall through */
+ /* FALLTHROUGH */
case 6:
maxsize = 0;
- /* fall through */
+ /* FALLTHROUGH */
case 7:
maxlen = 0;
- /* fall through */
+ /* FALLTHROUGH */
case 8:
maxlattr = 0;
- /* fall through */
+ /* FALLTHROUGH */
#ifdef COLORLS
if (!f_color)
#endif
f_notabs = 0;
- /* fall through */
+ /* FALLTHROUGH */
default:
break;
}
diff --git a/bin/sh/expand.c b/bin/sh/expand.c
index eaab1bd870d6..a8cad11e59b6 100644
--- a/bin/sh/expand.c
+++ b/bin/sh/expand.c
@@ -893,7 +893,7 @@ numvar:
}
break;
}
- /* fall through */
+ /* FALLTHROUGH */
case '*':
if (ifsset() != 0)
sep = ifsval()[0];
diff --git a/bin/sh/parser.c b/bin/sh/parser.c
index e87047f54f9e..5da28adabf2f 100644
--- a/bin/sh/parser.c
+++ b/bin/sh/parser.c
@@ -193,7 +193,7 @@ list(int nlflag)
case TBACKGND:
case TSEMI:
tok = readtoken();
- /* fall through */
+ /* FALLTHROUGH */
case TNL:
if (tok == TNL) {
parseheredoc();