From 7684d49a94c59ab9b3010bd604b8f777d079b3b0 Mon Sep 17 00:00:00 2001 From: schnetter Date: Wed, 2 Dec 2009 05:57:41 +0000 Subject: 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 --- src/slab.cc | 5 ++--- 1 file 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 -- cgit v1.2.3