summaryrefslogtreecommitdiffstats
path: root/games/hack/hack.trap.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/hack/hack.trap.c')
-rw-r--r--games/hack/hack.trap.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/games/hack/hack.trap.c b/games/hack/hack.trap.c
index 682e961..9d10098 100644
--- a/games/hack/hack.trap.c
+++ b/games/hack/hack.trap.c
@@ -1,6 +1,8 @@
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* hack.trap.c - version 1.0.3 */
-/* $FreeBSD$ */
+
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include "hack.h"
@@ -256,7 +258,7 @@ float_down(){
break;
case TRAPDOOR:
if(!xdnstair || u.ustuck) break;
- /* fall into next case */
+ /* FALLTHROUGH */
default:
dotrap(trap);
}
OpenPOWER on IntegriCloud