summaryrefslogtreecommitdiff
path: root/games/grdc/grdc.c
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/grdc/grdc.c
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/grdc/grdc.c')
-rw-r--r--games/grdc/grdc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/grdc/grdc.c b/games/grdc/grdc.c
index 89c6e661ff2..9a06a746f55 100644
--- a/games/grdc/grdc.c
+++ b/games/grdc/grdc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: grdc.c,v 1.21 2015/12/09 02:00:40 jsg Exp $ */
+/* $OpenBSD: grdc.c,v 1.22 2015/12/25 20:59:09 mestre Exp $ */
/*
*
* Copyright 2002 Amos Shapir. Public domain.
@@ -42,7 +42,7 @@ int hascolor = 0;
void set(int, int);
void standt(int);
void getwinsize(int *, int *);
-void usage(void);
+__dead void usage(void);
void
sighndl(int signo)