summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2009-10-08 09:40:48 -0700
committerSteven Noonan <steven@uplinklabs.net>2009-10-10 04:41:10 -0700
commitf2410b8e5b84b73ea8914336eebe7ec487cf39d7 (patch)
treee365e640eb1f385e3f8448920155064f147f4073
parent687af248e0cbd094825522c12c6d457b831129c9 (diff)
downloadcrawl-ref-f2410b8e5b84b73ea8914336eebe7ec487cf39d7.tar.gz
crawl-ref-f2410b8e5b84b73ea8914336eebe7ec487cf39d7.zip
headers: remove 'AppHdr.h' include from .h files
This breaks the GCC if you're using precompiled headers, and we don't need this included in these headers anyway. All the .cc files have AppHdr.h included first anyway. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
-rw-r--r--crawl-ref/source/arena.h1
-rw-r--r--crawl-ref/source/cio.h1
-rw-r--r--crawl-ref/source/clua.h2
-rw-r--r--crawl-ref/source/ctest.h2
-rw-r--r--crawl-ref/source/database.h1
-rw-r--r--crawl-ref/source/luadgn.h1
-rw-r--r--crawl-ref/source/menu.h1
-rw-r--r--crawl-ref/source/mtransit.h1
-rw-r--r--crawl-ref/source/stash.h1
-rw-r--r--crawl-ref/source/tutorial.h1
10 files changed, 0 insertions, 12 deletions
diff --git a/crawl-ref/source/arena.h b/crawl-ref/source/arena.h
index 76b7ea900c..039e2bca3c 100644
--- a/crawl-ref/source/arena.h
+++ b/crawl-ref/source/arena.h
@@ -6,7 +6,6 @@
#ifndef ARENA_H
#define ARENA_H
-#include "AppHdr.h"
#include "enum.h"
class level_id;
diff --git a/crawl-ref/source/cio.h b/crawl-ref/source/cio.h
index 2be53a04cb..e8b27e37d2 100644
--- a/crawl-ref/source/cio.h
+++ b/crawl-ref/source/cio.h
@@ -7,7 +7,6 @@
#ifndef CIO_H
#define CIO_H
-#include "AppHdr.h"
#include "enum.h"
#include "externs.h"
#include "defines.h"
diff --git a/crawl-ref/source/clua.h b/crawl-ref/source/clua.h
index e171181b94..a6ed4ac413 100644
--- a/crawl-ref/source/clua.h
+++ b/crawl-ref/source/clua.h
@@ -7,8 +7,6 @@
#ifndef __CLUA_H__
#define __CLUA_H__
-#include "AppHdr.h"
-
extern "C" {
#include <lua.h>
#include <lauxlib.h>
diff --git a/crawl-ref/source/ctest.h b/crawl-ref/source/ctest.h
index 0cc1d1ad55..6caa3cf00c 100644
--- a/crawl-ref/source/ctest.h
+++ b/crawl-ref/source/ctest.h
@@ -1,8 +1,6 @@
#ifndef CTEST_H
#define CTEST_H
-#include "AppHdr.h"
-
#ifdef DEBUG_DIAGNOSTICS
namespace crawl_tests
diff --git a/crawl-ref/source/database.h b/crawl-ref/source/database.h
index f711f67fe5..f45df352f9 100644
--- a/crawl-ref/source/database.h
+++ b/crawl-ref/source/database.h
@@ -8,7 +8,6 @@
#ifndef DATABASE_H
#define DATABASE_H
-#include "AppHdr.h"
#include "externs.h"
#include <list>
diff --git a/crawl-ref/source/luadgn.h b/crawl-ref/source/luadgn.h
index 22216e5ac6..2f87436482 100644
--- a/crawl-ref/source/luadgn.h
+++ b/crawl-ref/source/luadgn.h
@@ -7,7 +7,6 @@
#ifndef LUADGN_H
#define LUADGN_H
-#include "AppHdr.h"
#include "clua.h"
// Defined in acr.cc
diff --git a/crawl-ref/source/menu.h b/crawl-ref/source/menu.h
index bb989a2576..08b39eaae7 100644
--- a/crawl-ref/source/menu.h
+++ b/crawl-ref/source/menu.h
@@ -11,7 +11,6 @@
#include <vector>
#include <algorithm>
#include <time.h>
-#include "AppHdr.h"
#include "externs.h"
#include "format.h"
#include "defines.h"
diff --git a/crawl-ref/source/mtransit.h b/crawl-ref/source/mtransit.h
index 7bd6c81522..ef7a113553 100644
--- a/crawl-ref/source/mtransit.h
+++ b/crawl-ref/source/mtransit.h
@@ -7,7 +7,6 @@
#ifndef MTRANSIT_H
#define MTRANSIT_H
-#include "AppHdr.h"
#include "travel.h"
#include <map>
#include <list>
diff --git a/crawl-ref/source/stash.h b/crawl-ref/source/stash.h
index 1232e1a46b..8a50b0d77f 100644
--- a/crawl-ref/source/stash.h
+++ b/crawl-ref/source/stash.h
@@ -7,7 +7,6 @@
#ifndef STASH_H
#define STASH_H
-#include "AppHdr.h"
#include "shopping.h"
#include <string>
diff --git a/crawl-ref/source/tutorial.h b/crawl-ref/source/tutorial.h
index 9619dd26af..e1065f9ac9 100644
--- a/crawl-ref/source/tutorial.h
+++ b/crawl-ref/source/tutorial.h
@@ -14,7 +14,6 @@
#include <stdio.h>
#include <stdlib.h>
-#include "AppHdr.h"
#include "externs.h"
class formatted_string;