summaryrefslogtreecommitdiffstats
path: root/text-utils
diff options
context:
space:
mode:
Diffstat (limited to 'text-utils')
-rw-r--r--text-utils/hexdump-parse.c2
-rw-r--r--text-utils/more.c5
-rw-r--r--text-utils/pg.c4
-rw-r--r--text-utils/ul.c4
4 files changed, 8 insertions, 7 deletions
diff --git a/text-utils/hexdump-parse.c b/text-utils/hexdump-parse.c
index c60a4d06b..2b2735bf7 100644
--- a/text-utils/hexdump-parse.c
+++ b/text-utils/hexdump-parse.c
@@ -351,7 +351,7 @@ isint: cs[3] = '\0';
case 'A':
endfu = fu;
fu->flags |= F_IGNORE;
- /* FALLTHROUGH */
+ /* fallthrough */
case 'a':
pr->flags = F_ADDRESS;
++p2;
diff --git a/text-utils/more.c b/text-utils/more.c
index 72dd96bf4..c0c2e8743 100644
--- a/text-utils/more.c
+++ b/text-utils/more.c
@@ -1270,7 +1270,7 @@ int command(char *filename, register FILE *f)
break;
}
lastp++;
- /* fall through */
+ /* fallthrough */
case '/':
if (nlines == 0)
nlines++;
@@ -1368,7 +1368,7 @@ int command(char *filename, register FILE *f)
(char *)0);
break;
}
- /* fall through */
+ /* fallthrough */
default:
if (dum_opt) {
kill_line();
@@ -2023,6 +2023,7 @@ int expand(char **outbuf, char *inbuf)
*outstr++ = *inpstr++;
break;
}
+ /* fallthrough */
default:
*outstr++ = c;
}
diff --git a/text-utils/pg.c b/text-utils/pg.c
index 1b9b8d7dd..50fd3c379 100644
--- a/text-utils/pg.c
+++ b/text-utils/pg.c
@@ -659,7 +659,7 @@ static void prompt(long long pageno)
break;
case SEARCH_FIN:
state = SEARCH;
- /* FALLTHRU */
+ /* fallthrough */
case SEARCH:
if (cmd.cmdline[cmd.cmdlen - 1] == '\\') {
escape = 1;
@@ -738,7 +738,7 @@ static void prompt(long long pageno)
continue;
}
state = COUNT;
- /* FALLTHRU */
+ /* fallthrough */
case COUNT:
break;
case ADDON_FIN:
diff --git a/text-utils/ul.c b/text-utils/ul.c
index 3986b4206..736483ef4 100644
--- a/text-utils/ul.c
+++ b/text-utils/ul.c
@@ -208,7 +208,7 @@ int main(int argc, char **argv)
default:
warnx(_("trouble reading terminfo"));
- /* fall through to ... */
+ /* fallthrough */
case 0:
if (tflag)
@@ -317,7 +317,7 @@ static void filter(FILE *f)
}
obuf[col].c_char = '_';
obuf[col].c_width = 1;
- /* fall through */
+ /* fallthrough */
case ' ':
setcol(col + 1);
continue;