summaryrefslogtreecommitdiffstats
path: root/games/hack/hack.do_name.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/hack/hack.do_name.c')
-rw-r--r--games/hack/hack.do_name.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/games/hack/hack.do_name.c b/games/hack/hack.do_name.c
index add0b8a..24dce8a 100644
--- a/games/hack/hack.do_name.c
+++ b/games/hack/hack.do_name.c
@@ -1,6 +1,8 @@
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* hack.do_name.c - version 1.0.3 */
-/* $FreeBSD$ */
+
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include "hack.h"
#include <stdio.h>
@@ -209,7 +211,7 @@ extern char *shkname();
(void) strcpy(buf, shkname(mtmp));
break;
}
- /* fall into next case */
+ /* FALLTHROUGH */
default:
(void) sprintf(buf, "the %s%s",
mtmp->minvis ? "invisible " : "",
OpenPOWER on IntegriCloud