summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2002-08-25 13:10:45 +0000
committercharnier <charnier@FreeBSD.org>2002-08-25 13:10:45 +0000
commit4966efff7bc9071f04706819e62e1a291d22bcb2 (patch)
treeb72048b5daaf9c3f63615a383f3610277e497ede /libexec
parentc88222c6c0149f22317404fa4c67eba023d90206 (diff)
downloadFreeBSD-src-4966efff7bc9071f04706819e62e1a291d22bcb2.zip
FreeBSD-src-4966efff7bc9071f04706819e62e1a291d22bcb2.tar.gz
Replace various spelling with FALLTHROUGH which is lint()able
Diffstat (limited to 'libexec')
-rw-r--r--libexec/bootpd/readfile.c5
-rw-r--r--libexec/telnetd/state.c6
2 files changed, 6 insertions, 5 deletions
diff --git a/libexec/bootpd/readfile.c b/libexec/bootpd/readfile.c
index 7477c3f..ab583d4 100644
--- a/libexec/bootpd/readfile.c
+++ b/libexec/bootpd/readfile.c
@@ -577,7 +577,8 @@ read_entry(fp, buffer, bufsiz)
case '\\':
if ((c = fgetc(fp)) < 0) { /* Backslash */
goto done; /* EOF. . . .*/
- } /* else fall through */
+ }
+ /* FALLTHROUGH */
default:
*buffer++ = c; /* Other character, store it */
length++;
@@ -608,7 +609,7 @@ read_entry(fp, buffer, bufsiz)
goto top; /* Backslash-newline continuation */
}
}
- /* fall through if "other" character */
+ /* FALLTHROUGH if "other" character */
default:
*buffer++ = c; /* Store other characters */
length++;
diff --git a/libexec/telnetd/state.c b/libexec/telnetd/state.c
index 229b6d9..412fd94 100644
--- a/libexec/telnetd/state.c
+++ b/libexec/telnetd/state.c
@@ -103,7 +103,7 @@ telrcv(void)
if ((c == 0) || (c == '\n')) {
break;
}
- /* FALL THROUGH */
+ /* FALLTHROUGH */
case TS_DATA:
if (c == IAC) {
@@ -1256,7 +1256,7 @@ suboption(void)
case ENV_ESC:
if (!SB_EOF())
c = SB_GET();
- /* FALL THROUGH */
+ /* FALLTHROUGH */
default:
empty = 0;
continue;
@@ -1343,7 +1343,7 @@ suboption(void)
if (SB_EOF())
break;
c = SB_GET();
- /* FALL THROUGH */
+ /* FALLTHROUGH */
default:
*cp++ = c;
break;
OpenPOWER on IntegriCloud