summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2002-08-25 13:23:09 +0000
committercharnier <charnier@FreeBSD.org>2002-08-25 13:23:09 +0000
commit7dd9d470599f145845572ac1f0d4b621c19c1cdb (patch)
tree9d932320e38df05718ee72d760a4d0d204431b9b /usr.bin
parent4966efff7bc9071f04706819e62e1a291d22bcb2 (diff)
downloadFreeBSD-src-7dd9d470599f145845572ac1f0d4b621c19c1cdb.zip
FreeBSD-src-7dd9d470599f145845572ac1f0d4b621c19c1cdb.tar.gz
Replace various spelling with FALLTHROUGH which is lint()able
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/chat/chat.c2
-rw-r--r--usr.bin/doscmd/trap.c2
-rw-r--r--usr.bin/lex/initscan.c2
-rw-r--r--usr.bin/mail/aux.c2
-rw-r--r--usr.bin/telnet/telnet.c12
-rw-r--r--usr.bin/top/machine.c2
-rw-r--r--usr.bin/touch/touch.c2
-rw-r--r--usr.bin/ul/ul.c2
-rw-r--r--usr.bin/yacc/reader.c4
9 files changed, 15 insertions, 15 deletions
diff --git a/usr.bin/chat/chat.c b/usr.bin/chat/chat.c
index 2be228a..270249e 100644
--- a/usr.bin/chat/chat.c
+++ b/usr.bin/chat/chat.c
@@ -1221,7 +1221,7 @@ int n;
case -1:
if (need_lf == 0)
break;
- /* fall through */
+ /* FALLTHROUGH */
case '\n':
write(STDERR_FILENO, "\n", 1);
need_lf = 0;
diff --git a/usr.bin/doscmd/trap.c b/usr.bin/doscmd/trap.c
index dbf3960..02e9437 100644
--- a/usr.bin/doscmd/trap.c
+++ b/usr.bin/doscmd/trap.c
@@ -505,7 +505,7 @@ sigbus(struct sigframe *sf)
tty_pause();
goto out;
/* } */
- /* FALLTHRU */
+ /* FALLTHROUGH */
default:
dump_regs(REGS);
diff --git a/usr.bin/lex/initscan.c b/usr.bin/lex/initscan.c
index b81d43b..a7316ba 100644
--- a/usr.bin/lex/initscan.c
+++ b/usr.bin/lex/initscan.c
@@ -3176,7 +3176,7 @@ static int input()
/* Reset buffer status. */
yyrestart( yyin );
- /* fall through */
+ /* FALLTHROUGH */
case EOB_ACT_END_OF_FILE:
{
diff --git a/usr.bin/mail/aux.c b/usr.bin/mail/aux.c
index 82ad0dd..fa820b4 100644
--- a/usr.bin/mail/aux.c
+++ b/usr.bin/mail/aux.c
@@ -488,7 +488,7 @@ skin(name)
lastsp = 0;
break;
}
- /* Fall into . . . */
+ /* FALLTHROUGH */
default:
if (lastsp) {
diff --git a/usr.bin/telnet/telnet.c b/usr.bin/telnet/telnet.c
index a570a86..27aeaa9 100644
--- a/usr.bin/telnet/telnet.c
+++ b/usr.bin/telnet/telnet.c
@@ -272,7 +272,7 @@ willoption(int option)
case TELOPT_BINARY:
case TELOPT_SGA:
settimer(modenegotiated);
- /* FALL THROUGH */
+ /* FALLTHROUGH */
case TELOPT_STATUS:
new_state_ok = 1;
break;
@@ -322,7 +322,7 @@ wontoption(int option)
case TELOPT_SGA:
if (!kludgelinemode)
break;
- /* FALL THROUGH */
+ /* FALLTHROUGH */
#endif
case TELOPT_ECHO:
settimer(modenegotiated);
@@ -1293,7 +1293,7 @@ env_opt(unsigned char *buf, int len)
old_env_var = OLD_ENV_VAR;
old_env_value = OLD_ENV_VALUE;
}
- /* FALL THROUGH */
+ /* FALLTHROUGH */
# endif
case OLD_ENV_VALUE:
/*
@@ -1301,7 +1301,7 @@ env_opt(unsigned char *buf, int len)
* still recognize it, just in case it is an
* old server that has VAR & VALUE mixed up...
*/
- /* FALL THROUGH */
+ /* FALLTHROUGH */
#else
case NEW_ENV_VAR:
#endif
@@ -1314,7 +1314,7 @@ env_opt(unsigned char *buf, int len)
break;
case ENV_ESC:
i++;
- /*FALL THROUGH*/
+ /*FALLTHROUGH*/
default:
if (epc)
*epc++ = buf[i];
@@ -1519,7 +1519,7 @@ telrcv(void)
TTYADD(c);
break;
}
- /* Else, fall through */
+ /* FALLTHROUGH */
case TS_DATA:
if (c == IAC) {
diff --git a/usr.bin/top/machine.c b/usr.bin/top/machine.c
index da60ebc..c507925f 100644
--- a/usr.bin/top/machine.c
+++ b/usr.bin/top/machine.c
@@ -544,7 +544,7 @@ char *(*get_userid)();
sprintf(status, "%.6s", pp->ki_wmesg);
break;
}
- /* fall through */
+ /* FALLTHROUGH */
default:
if (state >= 0 &&
diff --git a/usr.bin/touch/touch.c b/usr.bin/touch/touch.c
index 7482674..26ccf0e 100644
--- a/usr.bin/touch/touch.c
+++ b/usr.bin/touch/touch.c
@@ -225,7 +225,7 @@ stime_arg1(arg, tvp)
t->tm_year = ATOI2(arg);
t->tm_year *= 100;
yearset = 1;
- /* FALLTHOUGH */
+ /* FALLTHROUGH */
case 10: /* YYMMDDhhmm */
if (yearset) {
yearset = ATOI2(arg);
diff --git a/usr.bin/ul/ul.c b/usr.bin/ul/ul.c
index 4426877..c4ffccf 100644
--- a/usr.bin/ul/ul.c
+++ b/usr.bin/ul/ul.c
@@ -134,7 +134,7 @@ main(argc, argv)
default:
warnx("trouble reading termcap");
- /* fall through to ... */
+ /* FALLTHROUGH */
case 0:
/* No such terminal type - assume dumb */
diff --git a/usr.bin/yacc/reader.c b/usr.bin/yacc/reader.c
index 3e01e8f..7c1132d 100644
--- a/usr.bin/yacc/reader.c
+++ b/usr.bin/yacc/reader.c
@@ -283,7 +283,7 @@ nextc()
s = cptr;
break;
}
- /* fall through */
+ /* FALLTHROUGH */
default:
cptr = s;
@@ -511,7 +511,7 @@ loop:
FREE(t_line);
return;
}
- /* fall through */
+ /* FALLTHROUGH */
default:
putc(c, f);
OpenPOWER on IntegriCloud