diff options
author | dogcow <dogcow@NetBSD.org> | 2007-12-18 08:45:03 +0000 |
---|---|---|
committer | dogcow <dogcow@NetBSD.org> | 2007-12-18 08:45:03 +0000 |
commit | 7bdfc68392299315f4249ce06cfac7b13fb0514a (patch) | |
tree | 5e9a3edda3110e3dae024a818dd67169d527cc21 /phantasia | |
parent | 5b76eed8435d83619f278cc1584ca5751e2804f6 (diff) | |
download | bsdgames-darwin-7bdfc68392299315f4249ce06cfac7b13fb0514a.tar.gz bsdgames-darwin-7bdfc68392299315f4249ce06cfac7b13fb0514a.tar.zst bsdgames-darwin-7bdfc68392299315f4249ce06cfac7b13fb0514a.zip |
more __dead fallout: these two files are built for the native host, not
for the target host - and thus do not necessarily have __dead defined in
<sys/cdefs.h>.
Diffstat (limited to 'phantasia')
-rw-r--r-- | phantasia/setup.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/phantasia/setup.c b/phantasia/setup.c index 70f3f6e3..af9703f7 100644 --- a/phantasia/setup.c +++ b/phantasia/setup.c @@ -1,7 +1,8 @@ -/* $NetBSD: setup.c,v 1.16 2007/12/15 19:44:42 perry Exp $ */ +/* $NetBSD: setup.c,v 1.17 2007/12/18 08:45:04 dogcow Exp $ */ /* * setup.c - set up all files for Phantasia + * n.b.: this is used at build-time - i.e. during build.sh. */ #include <sys/cdefs.h> #include <sys/param.h> @@ -9,6 +10,10 @@ #include <fcntl.h> #include "include.h" +#ifndef __dead /* Not NetBSD */ +#define __dead ; +#endif + int main(int, char *[]); void Error(const char *, const char *) __dead; double drandom(void); |