diff options
author | mestre <mestre@cvs.openbsd.org> | 2015-12-26 00:26:41 +0000 |
---|---|---|
committer | mestre <mestre@cvs.openbsd.org> | 2015-12-26 00:26:41 +0000 |
commit | cd3ae956e87cd9a71362c652453ed1b666e3400c (patch) | |
tree | 552c5d7229cdaed36d4263180993b1fa2dec6bf8 /games/phantasia | |
parent | 3fb26cc31d7a4478dc8f38b04bdd6993f60fb4f5 (diff) |
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.c | 4 | ||||
-rw-r--r-- | games/phantasia/setup.c | 4 |
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 *); /**/ /************************************************************************ |