diff options
author | charnier <charnier@FreeBSD.org> | 2002-08-25 13:10:45 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 2002-08-25 13:10:45 +0000 |
commit | 4966efff7bc9071f04706819e62e1a291d22bcb2 (patch) | |
tree | b72048b5daaf9c3f63615a383f3610277e497ede /sbin/fsck_ffs | |
parent | c88222c6c0149f22317404fa4c67eba023d90206 (diff) | |
download | FreeBSD-src-4966efff7bc9071f04706819e62e1a291d22bcb2.zip FreeBSD-src-4966efff7bc9071f04706819e62e1a291d22bcb2.tar.gz |
Replace various spelling with FALLTHROUGH which is lint()able
Diffstat (limited to 'sbin/fsck_ffs')
-rw-r--r-- | sbin/fsck_ffs/pass2.c | 13 | ||||
-rw-r--r-- | sbin/fsck_ffs/pass5.c | 11 |
2 files changed, 13 insertions, 11 deletions
diff --git a/sbin/fsck_ffs/pass2.c b/sbin/fsck_ffs/pass2.c index 597181d..388dc8e 100644 --- a/sbin/fsck_ffs/pass2.c +++ b/sbin/fsck_ffs/pass2.c @@ -31,13 +31,14 @@ * SUCH DAMAGE. */ -#ifndef lint #if 0 +#ifndef lint static const char sccsid[] = "@(#)pass2.c 8.9 (Berkeley) 4/28/95"; -#endif -static const char rcsid[] = - "$FreeBSD$"; #endif /* not lint */ +#endif + +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/param.h> @@ -406,7 +407,7 @@ again: case DSTATE: if (inoinfo(idesc->id_number)->ino_state == DFOUND) inoinfo(dirp->d_ino)->ino_state = DFOUND; - /* fall through */ + /* FALLTHROUGH */ case DFOUND: inp = getinoinfo(dirp->d_ino); @@ -431,7 +432,7 @@ again: } if (idesc->id_entryno > 2) inp->i_parent = idesc->id_number; - /* fall through */ + /* FALLTHROUGH */ case FSTATE: if (dirp->d_type != inoinfo(dirp->d_ino)->ino_type) { diff --git a/sbin/fsck_ffs/pass5.c b/sbin/fsck_ffs/pass5.c index 1d81d05..6685e39 100644 --- a/sbin/fsck_ffs/pass5.c +++ b/sbin/fsck_ffs/pass5.c @@ -31,13 +31,14 @@ * SUCH DAMAGE. */ -#ifndef lint #if 0 +#ifndef lint static const char sccsid[] = "@(#)pass5.c 8.9 (Berkeley) 4/28/95"; -#endif -static const char rcsid[] = - "$FreeBSD$"; #endif /* not lint */ +#endif + +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/sysctl.h> @@ -215,7 +216,7 @@ pass5(void) case DCLEAR: case DFOUND: newcg->cg_cs.cs_ndir++; - /* fall through */ + /* FALLTHROUGH */ case FSTATE: case FCLEAR: |