diff options
author | mestre <mestre@cvs.openbsd.org> | 2015-12-25 20:59:10 +0000 |
---|---|---|
committer | mestre <mestre@cvs.openbsd.org> | 2015-12-25 20:59:10 +0000 |
commit | 92cd1f7f302cea16f35f50eda2116d1c7ad10025 (patch) | |
tree | 332c05298dc2dd259d911995a98da542738a43ff /games/wump | |
parent | 120323e2e25fc1d6e4650f9e58378c8ea673a99b (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/wump')
-rw-r--r-- | games/wump/wump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/games/wump/wump.c b/games/wump/wump.c index fe42fc54882..ca8670e1d51 100644 --- a/games/wump/wump.c +++ b/games/wump/wump.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wump.c,v 1.27 2015/11/30 09:00:02 tb Exp $ */ +/* $OpenBSD: wump.c,v 1.28 2015/12/25 20:59:09 mestre Exp $ */ /* * Copyright (c) 1989, 1993 @@ -123,7 +123,7 @@ void pit_survive(void); int shoot(char *); void shoot_self(void); int take_action(void); -void usage(void); +__dead void usage(void); void wump_kill(void); void wump_bat_kill(void); void wump_walk_kill(void); |