From a88bc995d304d335ca2a179a9d0433e1de5974e5 Mon Sep 17 00:00:00 2001 From: knarf Date: Thu, 1 Mar 2012 03:38:01 +0000 Subject: use correct constness of some variables to avoid compiler warnings git-svn-id: http://svn.aei.mpg.de/numrel/AEIThorns/ADMMass/trunk@44 54511f98-0e4f-0410-826e-eb8b393f5a1e --- src/surface_integral.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/surface_integral.c b/src/surface_integral.c index 6886981..91f4995 100644 --- a/src/surface_integral.c +++ b/src/surface_integral.c @@ -19,8 +19,8 @@ #define PI 3.1415926535897932384626433832795028841971693993751058209749445923 -CCTK_INT find_closest(const cGH *cctkGH, CCTK_INT *cctk_lsh, - CCTK_REAL *cctk_delta_space, CCTK_INT ghost, +CCTK_INT find_closest(const cGH *cctkGH, const CCTK_INT *cctk_lsh, + const CCTK_REAL *cctk_delta_space, CCTK_INT ghost, CCTK_REAL *coord, CCTK_REAL coord_min, CCTK_INT dir); void ADMMass_Surface(CCTK_ARGUMENTS); @@ -34,8 +34,8 @@ void ADMMass_Surface_Lapse_Global(CCTK_ARGUMENTS); -CCTK_INT find_closest(const cGH *cctkGH, CCTK_INT *cctk_lsh, - CCTK_REAL *cctk_delta_space, CCTK_INT ghost, +CCTK_INT find_closest(const cGH *cctkGH, const CCTK_INT *cctk_lsh, + const CCTK_REAL *cctk_delta_space, CCTK_INT ghost, CCTK_REAL *coord, CCTK_REAL coord_min, CCTK_INT dir) { CCTK_INT i, ijk, min_i = -1; -- cgit v1.2.3