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/fight.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'phantasia/fight.c') diff --git a/phantasia/fight.c b/phantasia/fight.c index ee4e15b1..1f01b9de 100644 --- a/phantasia/fight.c +++ b/phantasia/fight.c @@ -1,10 +1,19 @@ -/* $NetBSD: fight.c,v 1.12 2009/08/12 08:21:41 dholland Exp $ */ +/* $NetBSD: fight.c,v 1.13 2009/08/31 08:27:16 dholland Exp $ */ /* * fight.c Phantasia monster fighting routines */ -#include "include.h" +#include +#include +#include +#include + +#include "macros.h" +#include "phantdefs.h" +#include "phantstruct.h" +#include "phantglobs.h" + #undef bool #include -- cgit v1.2.3-56-ge451