aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschnetter <schnetter@2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8>2009-12-02 05:57:41 +0000
committerschnetter <schnetter@2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8>2009-12-02 05:57:41 +0000
commit7684d49a94c59ab9b3010bd604b8f777d079b3b0 (patch)
treeebfb8a4ab3040f2e36dd6d3cf3f1344a3df246df
parent22ae969dd0db6b1f087b46d2f9e4ccb4ca154b4f (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.cc5
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