aboutsummaryrefslogtreecommitdiff
path: root/Carpet
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2006-06-07 22:53:00 +0000
committerErik Schnetter <schnetter@cct.lsu.edu>2006-06-07 22:53:00 +0000
commit22c6798fcb2dfa6e522ffd7aef52b0175ff7381c (patch)
treee9687fbf3042b3e99a5b6d12afe9f7af2af719af /Carpet
parent4b43f32c5055a2340bc78de5d87604364bb0f524 (diff)
CarpetInterp: Correct signature of scheduled function
darcs-hash:20060607225356-dae7b-05fa7f32f8413196efbcd917efafdeb446960bd4.gz
Diffstat (limited to 'Carpet')
-rw-r--r--Carpet/CarpetInterp/src/interp.cc3
-rw-r--r--Carpet/CarpetInterp/src/interp.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/Carpet/CarpetInterp/src/interp.cc b/Carpet/CarpetInterp/src/interp.cc
index 3abd4e39b..fab82330c 100644
--- a/Carpet/CarpetInterp/src/interp.cc
+++ b/Carpet/CarpetInterp/src/interp.cc
@@ -146,9 +146,10 @@ namespace CarpetInterp {
- void CarpetInterpStartup ()
+ int CarpetInterpStartup ()
{
CCTK_OverloadInterpGridArrays (InterpGridArrays);
+ return 0;
}
diff --git a/Carpet/CarpetInterp/src/interp.h b/Carpet/CarpetInterp/src/interp.h
index a871fdba8..399fd20ae 100644
--- a/Carpet/CarpetInterp/src/interp.h
+++ b/Carpet/CarpetInterp/src/interp.h
@@ -7,7 +7,7 @@ namespace CarpetInterp {
#endif
/* Scheduled functions */
- void CarpetInterpStartup (void);
+ int CarpetInterpStartup (void);
#ifdef __cplusplus
} /* extern "C" */