aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgoodale <goodale@b61c5cb5-eaca-4651-9a7a-d64986f99364>1999-11-03 09:29:37 +0000
committergoodale <goodale@b61c5cb5-eaca-4651-9a7a-d64986f99364>1999-11-03 09:29:37 +0000
commit5dcd39807aff990e174a86591f2e0328fb9c8819 (patch)
tree23726cf4262cdb125181df9fa5aaa68b000b3637
parent75cca03b367361c370bd23ae3725da5e093c8a9b (diff)
Fixing various things pointed out by compiling with -Wall.
Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@128 b61c5cb5-eaca-4651-9a7a-d64986f99364
-rw-r--r--src/pugh_BoundingBox.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/src/pugh_BoundingBox.c b/src/pugh_BoundingBox.c
index eb2cbf6..a9181db 100644
--- a/src/pugh_BoundingBox.c
+++ b/src/pugh_BoundingBox.c
@@ -7,6 +7,10 @@
@enddesc
@@*/
+static char *rcsid = "$Header$";
+
+#include <stdlib.h>
+
#include "pugh.h"
#include "cctk.h"
@@ -51,9 +55,6 @@ void BoundingBox(pGH *GH, int *nproc, int staggertype)
void BoundingBox3D(pGH *GH, int *nproc, int staggertype)
{
-
- DECLARE_CCTK_PARAMETERS
-
int i,j,k,idir;
int *step;
@@ -140,9 +141,6 @@ void BoundingBox3D(pGH *GH, int *nproc, int staggertype)
void BoundingBox3D_local(pGH *GH, int *nproc, int staggertype)
{
-
- DECLARE_CCTK_PARAMETERS
-
int i,j,k,idir;
int *step;
@@ -204,9 +202,6 @@ void BoundingBox3D_local(pGH *GH, int *nproc, int staggertype)
void BoundingBox1D(pGH *GH, int *nproc, int staggertype)
{
-
- DECLARE_CCTK_PARAMETERS
-
int i,idir;
int *step;
@@ -246,9 +241,6 @@ void BoundingBox1D(pGH *GH, int *nproc, int staggertype)
void BoundingBox1D_local(pGH *GH, int *nproc, int staggertype)
{
-
- DECLARE_CCTK_PARAMETERS
-
int i,idir;
int *step;