summaryrefslogtreecommitdiff
path: root/src/include/cctk.h
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-03-02 11:25:06 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-03-02 11:25:06 +0000
commitf406b437cac6c78bf2c0729bac21f32e530120c9 (patch)
tree5a5d287fabd54a4a3ae5d4be1baca91568128493 /src/include/cctk.h
parentb36e02ff4a5e43b8d7c747a8aaae4edef8b2ae65 (diff)
Declare cctk functions as external
Cactus/243 Contribution from Eric Schnetter git-svn-id: http://svn.cactuscode.org/flesh/trunk@1405 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/cctk.h')
-rw-r--r--src/include/cctk.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/cctk.h b/src/include/cctk.h
index e0ac44a6..7d24e97c 100644
--- a/src/include/cctk.h
+++ b/src/include/cctk.h
@@ -66,7 +66,10 @@
#define CCTK_LSSH(stag,dim) cctk_lssh(stag*CCTK_NSTAGGER+dim)
#define CCTK_LSSH_IDX(stag,dim) (stag*CCTK_NSTAGGER+dim)
-#define DECLARE_CCTK_FUNCTIONS integer CCTK_Equals, CCTK_MyProc, CCTK_nProcs
+#define DECLARE_CCTK_FUNCTIONS &&\
+ integer CCTK_Equals, CCTK_MyProc, CCTK_nProcs&&\
+ external CCTK_Equals, CCTK_MyProc, CCTK_nProcs\
+
#endif /*FCODE*/