diff options
author | schnetter <schnetter@2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8> | 2009-12-02 05:57:41 +0000 |
---|---|---|
committer | schnetter <schnetter@2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8> | 2009-12-02 05:57:41 +0000 |
commit | 7684d49a94c59ab9b3010bd604b8f777d079b3b0 (patch) | |
tree | ebfb8a4ab3040f2e36dd6d3cf3f1344a3df246df | |
parent | 22ae969dd0db6b1f087b46d2f9e4ccb4ca154b4f (diff) |
Remove namespace declaration since this confuses some C++ compilers.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@68 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
-rw-r--r-- | src/slab.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/slab.cc b/src/slab.cc index 037c298..17ddb0c 100644 --- a/src/slab.cc +++ b/src/slab.cc @@ -74,13 +74,14 @@ using namespace std; #endif -namespace Slab { static int timer_init = -1; static int timer_copy_in = -1; static int timer_xfer = -1; static int timer_copy_back = -1; + + extern "C" void Slab_InitTimers (CCTK_ARGUMENTS) @@ -1776,5 +1777,3 @@ Slab_Transfer (cGH const * restrict const cctkGH, return Slab_MultiTransfer (cctkGH, dim, xferinfo, options, nvars, srctypes, srcptrs, dsttypes, dstptrs); } - -} // namespace Slab |