diff options
author | schnetter <> | 2003-07-14 13:45:00 +0000 |
---|---|---|
committer | schnetter <> | 2003-07-14 13:45:00 +0000 |
commit | d274f83de27ea6fe0a3adf3abfaf84429a26c3a8 (patch) | |
tree | aea4deb15cc91b51f395651f1a470d984977d602 /Carpet/Carpet/src/Poison.cc | |
parent | b7f1c8bf37644802bc4ed9fa7ae146addf5839be (diff) |
Not only declare, but also define the routines as taking a const cGH *.
darcs-hash:20030714134537-07bb3-0d7f80e9168a6d448c300cbfe808a6beb7619ae4.gz
Diffstat (limited to 'Carpet/Carpet/src/Poison.cc')
-rw-r--r-- | Carpet/Carpet/src/Poison.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Carpet/Carpet/src/Poison.cc b/Carpet/Carpet/src/Poison.cc index 8cf7df051..2e3c019f1 100644 --- a/Carpet/Carpet/src/Poison.cc +++ b/Carpet/Carpet/src/Poison.cc @@ -8,7 +8,7 @@ #include "carpet.hh" extern "C" { - static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/Poison.cc,v 1.12 2003/06/18 18:24:27 schnetter Exp $"; + static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/Poison.cc,v 1.13 2003/07/14 15:45:37 schnetter Exp $"; CCTK_FILEVERSION(Carpet_Carpet_Poison_cc); } @@ -20,7 +20,7 @@ namespace Carpet { - void Poison (cGH* cgh, const checktimes where) + void Poison (const cGH* cgh, const checktimes where) { DECLARE_CCTK_PARAMETERS; @@ -35,7 +35,7 @@ namespace Carpet { - void PoisonGroup (cGH* cgh, const int group, const checktimes where) + void PoisonGroup (const cGH* cgh, const int group, const checktimes where) { DECLARE_CCTK_PARAMETERS; int ierr; @@ -90,7 +90,7 @@ namespace Carpet { - void PoisonCheck (cGH* cgh, const checktimes where) + void PoisonCheck (const cGH* cgh, const checktimes where) { DECLARE_CCTK_PARAMETERS; |