summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoreschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac>2011-03-30 19:57:06 +0000
committereschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac>2011-03-30 19:57:06 +0000
commitde70f0ec86d22c36dac7dd4e69bdd0df29f49b31 (patch)
tree6b899922df1e85ce1842bbfa52b05036d1503552 /src
parent5b71eb715b3bc47d41053b4948e7818377905d49 (diff)
This patch makes the CST stage create prototypes for all scheduled
functions into a new file cctk_ScheduleFunctions.h, which is included into cctk.h. This is done only for C (and C++) since Fortran prototypes cannot be declared at file scope. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4696 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src')
-rw-r--r--src/include/cctk.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/cctk.h b/src/include/cctk.h
index bbdb5654..7d3327da 100644
--- a/src/include/cctk.h
+++ b/src/include/cctk.h
@@ -159,6 +159,9 @@ cctk_convfac,cctk_nghostzones,cctk_iteration,cctkGH
#include "cctk_Termination.h"
#include "cctk_WarnLevel.h"
+/* Include prototypes for scheduled functions */
+#include "cctk_ScheduleFunctions.h"
+
/* Include definitions provided by capabilities */
#include "cctk_Capabilities.h"