aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}