aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschnetter <schnetter@0f49ee68-0e4f-0410-9b9c-b2c123ded7ef>2006-08-31 15:11:19 +0000
committerschnetter <schnetter@0f49ee68-0e4f-0410-9b9c-b2c123ded7ef>2006-08-31 15:11:19 +0000
commit9cb0ef8e18b65bb8b28924b598c8475abe16ab92 (patch)
tree5a6d596abc38e4e6f5c3f5f24b33977fc5f65b46
parent5a2781d9d59bfabe9ccbf266fba49370de5058e0 (diff)
Change prototype of functions scheduled at startup to return and int
instead of void. git-svn-id: http://svn.aei.mpg.de/numrel/AEIThorns/AEILocalInterp/trunk@44 0f49ee68-0e4f-0410-9b9c-b2c123ded7ef
-rw-r--r--src/InterpLocalUniform.h2
-rw-r--r--src/startup.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/InterpLocalUniform.h b/src/InterpLocalUniform.h
index 61a4cf4..d3e23c2 100644
--- a/src/InterpLocalUniform.h
+++ b/src/InterpLocalUniform.h
@@ -188,7 +188,7 @@ struct Jacobian_info
*/
/* functions in "startup.c" */
-void AEILocalInterp_U_Startup(void);
+int AEILocalInterp_U_Startup(void);
/* functions in "InterpLocalUniform.c" */
/* ... these functions are registered by code in "startup.c", */
diff --git a/src/startup.c b/src/startup.c
index 63e3c63..102196c 100644
--- a/src/startup.c
+++ b/src/startup.c
@@ -28,7 +28,7 @@ CCTK_FILEVERSION(AEIThorns_AEILocalInterp_src_startup_c)
It registers the interpolation operators.
@enddesc
@@*/
-void AEILocalInterp_U_Startup(void)
+int AEILocalInterp_U_Startup(void)
{
CCTK_InterpRegisterOpLocalUniform(AEILocalInterp_U_Lagrange_TP,
"Lagrange polynomial interpolation (tensor product)",
@@ -48,4 +48,6 @@ CCTK_InterpRegisterOpLocalUniform(AEILocalInterp_U_Lagrange_TP,
CCTK_InterpRegisterOpLocalUniform(AEILocalInterp_U_Lagrange_TP,
"generalized polynomial interpolation",
CCTK_THORNSTRING);
+
+return 0;
}