summaryrefslogtreecommitdiffstats
path: root/games/phantasia
diff options
context:
space:
mode:
authormestre <mestre@openbsd.org>2015-12-26 00:26:39 +0000
committermestre <mestre@openbsd.org>2015-12-26 00:26:39 +0000
commit7ad55f558163bf40d70f36dd74055472237f6353 (patch)
tree611c9f82359c62089311eda890ab27d9c3ad8bb3 /games/phantasia
parent- use strtonum(3) instead of atoi(3) (diff)
downloadwireguard-openbsd-7ad55f558163bf40d70f36dd74055472237f6353.tar.xz
wireguard-openbsd-7ad55f558163bf40d70f36dd74055472237f6353.zip
Set as __dead a few more functions, that don't return, on games/
With precious tip, help and also OK from tb@
Diffstat (limited to 'games/phantasia')
-rw-r--r--games/phantasia/misc.c4
-rw-r--r--games/phantasia/setup.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/games/phantasia/misc.c b/games/phantasia/misc.c
index ccab3f5daa1..1010de22945 100644
--- a/games/phantasia/misc.c
+++ b/games/phantasia/misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: misc.c,v 1.16 2014/07/12 03:41:04 deraadt Exp $ */
+/* $OpenBSD: misc.c,v 1.17 2015/12/26 00:26:39 mestre Exp $ */
/* $NetBSD: misc.c,v 1.2 1995/03/24 03:59:03 cgd Exp $ */
/*
@@ -1414,7 +1414,7 @@ readmessage()
/
*************************************************************************/
-void
+__dead void
error(whichfile)
char *whichfile;
{
diff --git a/games/phantasia/setup.c b/games/phantasia/setup.c
index d3cd785ba25..cfeab03ee00 100644
--- a/games/phantasia/setup.c
+++ b/games/phantasia/setup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: setup.c,v 1.13 2014/11/16 04:49:48 guenther Exp $ */
+/* $OpenBSD: setup.c,v 1.14 2015/12/26 00:26:39 mestre Exp $ */
/* $NetBSD: setup.c,v 1.4 1995/04/24 12:24:41 cgd Exp $ */
/*
@@ -10,7 +10,7 @@
#include <limits.h>
#include <fcntl.h>
-void Error(char *, char *);
+__dead void Error(char *, char *);
/* */
/************************************************************************