diff options
author | Philippe Charnier <charnier@FreeBSD.org> | 2002-08-25 13:10:45 +0000 |
---|---|---|
committer | Philippe Charnier <charnier@FreeBSD.org> | 2002-08-25 13:10:45 +0000 |
commit | 7fed38d0a00297914313d5b57f3fae8ef7d4e627 (patch) | |
tree | b72048b5daaf9c3f63615a383f3610277e497ede /libexec | |
parent | 0d9f1a69d88eaf647c139cce44c6da1df9a639a6 (diff) | |
download | src-7fed38d0a00297914313d5b57f3fae8ef7d4e627.tar.gz src-7fed38d0a00297914313d5b57f3fae8ef7d4e627.zip |
Replace various spelling with FALLTHROUGH which is lint()able
Notes
Notes:
svn path=/head/; revision=102411
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/bootpd/readfile.c | 5 | ||||
-rw-r--r-- | libexec/telnetd/state.c | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/libexec/bootpd/readfile.c b/libexec/bootpd/readfile.c index 7477c3f6ce29..ab583d485db4 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 229b6d94b5fb..412fd941d259 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; |