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/io.c | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'phantasia/io.c') diff --git a/phantasia/io.c b/phantasia/io.c index 239942ab..64f7e171 100644 --- a/phantasia/io.c +++ b/phantasia/io.c @@ -1,12 +1,26 @@ -/* $NetBSD: io.c,v 1.13 2009/08/12 08:21:41 dholland Exp $ */ +/* $NetBSD: io.c,v 1.14 2009/08/31 08:27:16 dholland Exp $ */ /* * io.c - input/output routines for Phantasia */ -#include "include.h" -#undef bool #include + +#include +#include +#include +#include +#include +#include +#include + +#include "macros.h" +#include "phantdefs.h" +#include "phantstruct.h" +#include "phantglobs.h" +//#include "pathnames.h" + +#undef bool #include static void catchalarm(int) __dead; -- cgit v1.2.3