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/robots | |
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/robots')
-rw-r--r-- | games/robots/robots.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/games/robots/robots.h b/games/robots/robots.h index 1a9b0ca289b..f33f91c760c 100644 --- a/games/robots/robots.h +++ b/games/robots/robots.h @@ -1,4 +1,4 @@ -/* $OpenBSD: robots.h,v 1.11 2015/12/04 16:40:09 tb Exp $ */ +/* $OpenBSD: robots.h,v 1.12 2015/12/25 20:59:09 mestre Exp $ */ /* $NetBSD: robots.h,v 1.5 1995/04/24 12:24:54 cgd Exp $ */ /* @@ -134,4 +134,4 @@ void score(int); void set_name(SCORE *); void show_score(void); int sign(int); -void usage(void); +__dead void usage(void); |