From 91f08ba2ec9466907efaa6807f0115ad3d5ccf79 Mon Sep 17 00:00:00 2001 From: dholland Date: Wed, 20 Jul 2011 07:04:30 +0000 Subject: Include system headers before private headers. Avoids various possible symbol conflicts. --- hack/hack.bones.c | 8 ++++---- hack/hack.do.c | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'hack') diff --git a/hack/hack.bones.c b/hack/hack.bones.c index 49747726..94fda2ff 100644 --- a/hack/hack.bones.c +++ b/hack/hack.bones.c @@ -1,4 +1,4 @@ -/* $NetBSD: hack.bones.c,v 1.8 2009/08/12 07:28:40 dholland Exp $ */ +/* $NetBSD: hack.bones.c,v 1.9 2011/07/20 07:04:30 dholland Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -63,13 +63,13 @@ #include #ifndef lint -__RCSID("$NetBSD: hack.bones.c,v 1.8 2009/08/12 07:28:40 dholland Exp $"); +__RCSID("$NetBSD: hack.bones.c,v 1.9 2011/07/20 07:04:30 dholland Exp $"); #endif /* not lint */ -#include "hack.h" -#include "extern.h" #include #include +#include "hack.h" +#include "extern.h" static char bones[] = "bones_xx"; diff --git a/hack/hack.do.c b/hack/hack.do.c index d2fe69b5..87d7f8a7 100644 --- a/hack/hack.do.c +++ b/hack/hack.do.c @@ -1,4 +1,4 @@ -/* $NetBSD: hack.do.c,v 1.9 2009/08/12 07:28:40 dholland Exp $ */ +/* $NetBSD: hack.do.c,v 1.10 2011/07/20 07:04:30 dholland Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -63,16 +63,16 @@ #include #ifndef lint -__RCSID("$NetBSD: hack.do.c,v 1.9 2009/08/12 07:28:40 dholland Exp $"); +__RCSID("$NetBSD: hack.do.c,v 1.10 2011/07/20 07:04:30 dholland Exp $"); #endif /* not lint */ /* Contains code for 'd', 'D' (drop), '>', '<' (up, down) and 't' (throw) */ -#include "hack.h" -#include "extern.h" #include #include #include +#include "hack.h" +#include "extern.h" static int drop(struct obj *); -- cgit v1.2.3-56-ge451