summaryrefslogtreecommitdiffstats
path: root/games/hack/hack.mkobj.c
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 /games/hack/hack.mkobj.c
parentc88222c6c0149f22317404fa4c67eba023d90206 (diff)
downloadFreeBSD-src-4966efff7bc9071f04706819e62e1a291d22bcb2.zip
FreeBSD-src-4966efff7bc9071f04706819e62e1a291d22bcb2.tar.gz
Replace various spelling with FALLTHROUGH which is lint()able
Diffstat (limited to 'games/hack/hack.mkobj.c')
-rw-r--r--games/hack/hack.mkobj.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/games/hack/hack.mkobj.c b/games/hack/hack.mkobj.c
index cc8ce6d..7ef1540 100644
--- a/games/hack/hack.mkobj.c
+++ b/games/hack/hack.mkobj.c
@@ -1,6 +1,8 @@
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* hack.mkobj.c - version 1.0.3 */
-/* $FreeBSD$ */
+
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include "hack.h"
@@ -76,7 +78,7 @@ int otyp;
if(otmp->otyp == TIN)
otmp->spe = rnd(...);
#endif /* NOT_YET_IMPLEMENTED */
- /* fall into next case */
+ /* FALLTHROUGH */
case GEM_SYM:
otmp->quan = rn2(6) ? 1 : 2;
case TOOL_SYM:
OpenPOWER on IntegriCloud