summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorjthorn <jthorn@17b73243-c579-4c4c-a9d2-2d5706c11dac>2006-12-21 13:50:52 +0000
committerjthorn <jthorn@17b73243-c579-4c4c-a9d2-2d5706c11dac>2006-12-21 13:50:52 +0000
commit122e1093453a522b36a0ea07d0cc00c11f235154 (patch)
tree77940f540a2c06bf34227a08f16c91ce6c2b03b9 /src/include
parentf3b4f70df9431d800c644c803f6dd6601da52acb (diff)
remove external include guard "#ifndef _CCTK_TYPES_H" around
#include "cctk_Types.h" since this is (a) wrong [the actual symbol is _CCTK_TYPES_H_ (with a trailing underscore)], (b) unnecessary [cctk_Types.h already has an internal include guard, and modern compilers have special-case optimizations for internal include guards so they're just as fast at compile-time as external ones], and (c) inconsistent with the 3 other files in this same directory (cctk_Groups.h, cctk_Misc.h, and util_Table.h) which #include "cctk_Types.h", none of which use an external include guard git-svn-id: http://svn.cactuscode.org/flesh/trunk@4397 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include')
-rw-r--r--src/include/cGH.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/include/cGH.h b/src/include/cGH.h
index ae61bb40..043400d8 100644
--- a/src/include/cGH.h
+++ b/src/include/cGH.h
@@ -11,9 +11,7 @@
#ifndef _CGH_H_
#define _CGH_H_ 1
-#ifndef _CCTK_TYPES_H
#include "cctk_Types.h"
-#endif
typedef struct
{