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/quiz | |
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/quiz')
-rw-r--r-- | games/quiz/quiz.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/games/quiz/quiz.c b/games/quiz/quiz.c index af3d8d3f9bc..704d3c2bdd8 100644 --- a/games/quiz/quiz.c +++ b/games/quiz/quiz.c @@ -1,4 +1,4 @@ -/* $OpenBSD: quiz.c,v 1.23 2015/12/06 09:55:58 tb Exp $ */ +/* $OpenBSD: quiz.c,v 1.24 2015/12/25 20:59:09 mestre Exp $ */ /* $NetBSD: quiz.c,v 1.9 1995/04/22 10:16:58 cgd Exp $ */ /*- @@ -58,7 +58,7 @@ const char *next_cat(const char *); void quiz(void); void score(u_int, u_int, u_int); void show_index(void); -void usage(void); +__dead void usage(void); int main(int argc, char *argv[]) |