diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-01-12 12:24:55 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-01-12 12:24:55 +0000 |
commit | 986b3b54763efc922b08fc65df881ba5ddd69675 (patch) | |
tree | f4e9031356d233253034ff8929e3337e853791c3 /lib/sbin/CreateScheduleBindings.pl | |
parent | 9a4e25c5ee25f671d74f96cc657fa58741359f28 (diff) |
Final code for supporting
USE_CCTK_PARAMETERS
USE_CCTK_CARGUMENTS
which can be used to remove all the warnings about unused variables
(seen on the origin or if you compile with all warnings)
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1231 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/sbin/CreateScheduleBindings.pl')
-rw-r--r-- | lib/sbin/CreateScheduleBindings.pl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/sbin/CreateScheduleBindings.pl b/lib/sbin/CreateScheduleBindings.pl index 33bb0dd0..7c4980d9 100644 --- a/lib/sbin/CreateScheduleBindings.pl +++ b/lib/sbin/CreateScheduleBindings.pl @@ -140,8 +140,6 @@ sub ScheduleCreateFile $outbuf .= "\#include \"cctk.h\"\n"; $outbuf .= "\#include \"cctk_parameters.h\"\n"; $outbuf .= "\#include \"cctk_schedule.h\"\n"; - $outbuf .= "\#include \"cctk_Flesh.h\"\n"; - $outbuf .= "\#include \"cctk_Comm.h\"\n"; $outbuf .= "\n"; $outbuf .= "/* Prototypes for functions to be registered. */\n"; $outbuf .= "$prototypes\n"; @@ -164,6 +162,7 @@ sub ScheduleCreateFile $outbuf .= "{\n"; $outbuf .= " DECLARE_CCTK_PARAMETERS\n"; $outbuf .= "$buffer\n"; + $outbuf .= " USE_CCTK_PARAMETERS\n"; $outbuf .= "}\n"; $outbuf .= "\n"; |