diff options
author | schnetter <schnetter@e296648e-0e4f-0410-bd07-d597d9acff87> | 2005-07-28 15:39:35 +0000 |
---|---|---|
committer | schnetter <schnetter@e296648e-0e4f-0410-bd07-d597d9acff87> | 2005-07-28 15:39:35 +0000 |
commit | 9f94e5356d6ceb176d2bfe26b5276556c09989e0 (patch) | |
tree | 7f17e78e76eef62b42434301000a2ea35f052f6d /src | |
parent | 36fc1f77e52bd2c34c9a9aff20900149217241a3 (diff) |
Change arguments of routine that registers the slicing. This routine
is called at startup time. It does not take CCTK_ARGUMENTS, and it
has to return an int.
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/Exact/trunk@232 e296648e-0e4f-0410-bd07-d597d9acff87
Diffstat (limited to 'src')
-rw-r--r-- | src/Startup.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Startup.c b/src/Startup.c index 13de9cd..35d5d4a 100644 --- a/src/Startup.c +++ b/src/Startup.c @@ -2,20 +2,19 @@ /* $Header$ */ #include "cctk.h" -#include "cctk_Arguments.h" -#include "cctk_Parameters.h" #include "CactusEinstein/CoordGauge/src/Slicing.h" /* * prototypes for scheduled routines */ -void Exact__RegisterSlicing(CCTK_ARGUMENTS); +int Exact__RegisterSlicing(void); /******************************************************************************/ -void Exact__RegisterSlicing(CCTK_ARGUMENTS) +int Exact__RegisterSlicing(void) { int handle; handle=Einstein_RegisterSlicing("exact"); if (handle<0) CCTK_WARN(1,"Cannot register exact slicing"); + return 0; } |