From 4966efff7bc9071f04706819e62e1a291d22bcb2 Mon Sep 17 00:00:00 2001 From: charnier Date: Sun, 25 Aug 2002 13:10:45 +0000 Subject: Replace various spelling with FALLTHROUGH which is lint()able --- libexec/bootpd/readfile.c | 5 +++-- libexec/telnetd/state.c | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'libexec') 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; -- cgit v1.1