From 7bdfc68392299315f4249ce06cfac7b13fb0514a Mon Sep 17 00:00:00 2001 From: dogcow Date: Tue, 18 Dec 2007 08:45:03 +0000 Subject: 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 . --- phantasia/setup.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'phantasia') 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 #include @@ -9,6 +10,10 @@ #include #include "include.h" +#ifndef __dead /* Not NetBSD */ +#define __dead ; +#endif + int main(int, char *[]); void Error(const char *, const char *) __dead; double drandom(void); -- cgit v1.2.3-56-ge451