From f317851cef910ed84d916f18ef477f31e735802d Mon Sep 17 00:00:00 2001 From: dholland Date: Mon, 31 Aug 2009 08:27:16 +0000 Subject: Dumping all system includes anything uses in one big header file is so 1986. XXX: Removing unused declarations (thus, unused headers can trigger XXX: it) sometimes causes gcc to generate substantially different XXX: code. Dunno why but it looks rather like a gcc bug. --- phantasia/setup.c | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'phantasia/setup.c') diff --git a/phantasia/setup.c b/phantasia/setup.c index bdb9f74b..8d2cd6ed 100644 --- a/phantasia/setup.c +++ b/phantasia/setup.c @@ -1,4 +1,4 @@ -/* $NetBSD: setup.c,v 1.20 2009/05/27 17:44:38 dholland Exp $ */ +/* $NetBSD: setup.c,v 1.21 2009/08/31 08:27:16 dholland Exp $ */ /* * setup.c - set up all files for Phantasia @@ -8,10 +8,23 @@ #include #endif -#include +#include #include #include -#include "include.h" +#include +#include +#include +#include +#include + +#ifndef __dead /* Not NetBSD */ +#define __dead +#endif + +#include "phantdefs.h" +#include "phantstruct.h" +#include "phantglobs.h" +#include "pathnames.h" int main(int, char *[]); void Error(const char *, const char *) __dead; -- cgit v1.2.3-56-ge451