summaryrefslogtreecommitdiffstats
path: root/lib
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 /lib
parentc88222c6c0149f22317404fa4c67eba023d90206 (diff)
downloadFreeBSD-src-4966efff7bc9071f04706819e62e1a291d22bcb2.zip
FreeBSD-src-4966efff7bc9071f04706819e62e1a291d22bcb2.tar.gz
Replace various spelling with FALLTHROUGH which is lint()able
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/net/ns_addr.c2
-rw-r--r--lib/libc/net/ns_ntoa.c2
-rw-r--r--lib/libc/regex/regcomp.c2
-rw-r--r--lib/libc_r/uthread/uthread_kern.c2
-rw-r--r--lib/libipx/ipx_addr.c2
-rw-r--r--lib/libkse/thread/thr_kern.c2
-rw-r--r--lib/libpthread/thread/thr_kern.c2
-rw-r--r--lib/libutil/login_cap.c2
-rw-r--r--lib/libutil/property.c2
9 files changed, 9 insertions, 9 deletions
diff --git a/lib/libc/net/ns_addr.c b/lib/libc/net/ns_addr.c
index 6ebcbbb3..1c77bcc 100644
--- a/lib/libc/net/ns_addr.c
+++ b/lib/libc/net/ns_addr.c
@@ -167,7 +167,7 @@ Field(buf, out, len)
case 'h': case 'H':
base16 = 1;
- /* fall into */
+ /* FALLTHROUGH */
default:
*--bp = 0; /* Ends Loop */
diff --git a/lib/libc/net/ns_ntoa.c b/lib/libc/net/ns_ntoa.c
index 0063a8c..8caa554 100644
--- a/lib/libc/net/ns_ntoa.c
+++ b/lib/libc/net/ns_ntoa.c
@@ -91,7 +91,7 @@ spectHex(p0)
case 'a': case 'b': case 'c': case 'd': case 'e': case 'f':
*p += ('A' - 'a');
- /* fall into . . . */
+ /* FALLTHROUGH */
case 'A': case 'B': case 'C': case 'D': case 'E': case 'F':
ok = 1;
case '1': case '2': case '3': case '4': case '5':
diff --git a/lib/libc/regex/regcomp.c b/lib/libc/regex/regcomp.c
index 2dcd497..91de8d7 100644
--- a/lib/libc/regex/regcomp.c
+++ b/lib/libc/regex/regcomp.c
@@ -1741,7 +1741,7 @@ struct re_guts *g;
return;
}
} while (OP(s) != O_QUEST && OP(s) != O_CH);
- /* fallthrough */
+ /* FALLTHROUGH */
case OBOW: /* things that break a sequence */
case OEOW:
case OBOL:
diff --git a/lib/libc_r/uthread/uthread_kern.c b/lib/libc_r/uthread/uthread_kern.c
index a4cc3c3..2bd855c 100644
--- a/lib/libc_r/uthread/uthread_kern.c
+++ b/lib/libc_r/uthread/uthread_kern.c
@@ -394,7 +394,7 @@ _thread_kern_scheduler(void)
case PS_SELECT_WAIT:
/* Return zero file descriptors ready: */
pthread->data.poll_data->nfds = 0;
- /* fall through */
+ /* FALLTHROUGH */
default:
/*
* Remove this thread from the waiting queue
diff --git a/lib/libipx/ipx_addr.c b/lib/libipx/ipx_addr.c
index 30b3f6a..99da440 100644
--- a/lib/libipx/ipx_addr.c
+++ b/lib/libipx/ipx_addr.c
@@ -169,7 +169,7 @@ Field(buf, out, len)
case 'h': case 'H':
base16 = 1;
- /* fall into */
+ /* FALLTHROUGH */
default:
*--bp = 0; /* Ends Loop */
diff --git a/lib/libkse/thread/thr_kern.c b/lib/libkse/thread/thr_kern.c
index a4cc3c3..2bd855c 100644
--- a/lib/libkse/thread/thr_kern.c
+++ b/lib/libkse/thread/thr_kern.c
@@ -394,7 +394,7 @@ _thread_kern_scheduler(void)
case PS_SELECT_WAIT:
/* Return zero file descriptors ready: */
pthread->data.poll_data->nfds = 0;
- /* fall through */
+ /* FALLTHROUGH */
default:
/*
* Remove this thread from the waiting queue
diff --git a/lib/libpthread/thread/thr_kern.c b/lib/libpthread/thread/thr_kern.c
index a4cc3c3..2bd855c 100644
--- a/lib/libpthread/thread/thr_kern.c
+++ b/lib/libpthread/thread/thr_kern.c
@@ -394,7 +394,7 @@ _thread_kern_scheduler(void)
case PS_SELECT_WAIT:
/* Return zero file descriptors ready: */
pthread->data.poll_data->nfds = 0;
- /* fall through */
+ /* FALLTHROUGH */
default:
/*
* Remove this thread from the waiting queue
diff --git a/lib/libutil/login_cap.c b/lib/libutil/login_cap.c
index 55784d7..7d50128 100644
--- a/lib/libutil/login_cap.c
+++ b/lib/libutil/login_cap.c
@@ -245,7 +245,7 @@ login_getclassbyname(char const *name, const struct passwd *pwd)
msg = "%s: no default/fallback class '%s'";
if (cgetent(&lc->lc_cap, login_dbarray, (char*)name) != 0 && r >= 0)
break;
- /* Fallthru - just return system defaults */
+ /* FALLTHROUGH - just return system defaults */
case 0: /* success! */
if ((lc->lc_class = strdup(name)) != NULL) {
if (dir) {
diff --git a/lib/libutil/property.c b/lib/libutil/property.c
index 815ce6c..57383f9 100644
--- a/lib/libutil/property.c
+++ b/lib/libutil/property.c
@@ -85,7 +85,7 @@ properties_read(int fd)
ch = buf[0];
bp = 1;
}
- /* Fall through deliberately since we already have a character and state == LOOK */
+ /* FALLTHROUGH deliberately since we already have a character and state == LOOK */
case LOOK:
if (isspace(ch))
OpenPOWER on IntegriCloud