summaryrefslogtreecommitdiff
path: root/games/tetris
diff options
context:
space:
mode:
authormestre <mestre@cvs.openbsd.org>2015-12-25 20:59:10 +0000
committermestre <mestre@cvs.openbsd.org>2015-12-25 20:59:10 +0000
commit92cd1f7f302cea16f35f50eda2116d1c7ad10025 (patch)
tree332c05298dc2dd259d911995a98da542738a43ff /games/tetris
parent120323e2e25fc1d6e4650f9e58378c8ea673a99b (diff)
Declare usage() functions as __dead void, if they don't return, on games section.
Found another one in arithmetic(6) which also didn't return, and removed a function from number(6) which is not used anymore. OK tb@
Diffstat (limited to 'games/tetris')
-rw-r--r--games/tetris/tetris.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/tetris/tetris.c b/games/tetris/tetris.c
index 41d68e318d1..629694729fa 100644
--- a/games/tetris/tetris.c
+++ b/games/tetris/tetris.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tetris.c,v 1.26 2015/11/20 07:40:23 tb Exp $ */
+/* $OpenBSD: tetris.c,v 1.27 2015/12/25 20:59:09 mestre Exp $ */
/* $NetBSD: tetris.c,v 1.2 1995/04/22 07:42:47 cgd Exp $ */
/*-
@@ -68,7 +68,7 @@ static void elide(void);
static void setup_board(void);
const struct shape *randshape(void);
void onintr(int);
-void usage(void);
+__dead void usage(void);
/*
* Set up the initial board. The bottom display row is completely set,