diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2011-11-14 15:15:24 -0500 |
---|---|---|
committer | Barry Wardell <barry.wardell@gmail.com> | 2011-12-14 19:54:55 +0000 |
commit | 3489a4f4a3af4cbad87d83b84a901ca9a9d488e5 (patch) | |
tree | 8614fc0b37b571760b98b24deffee82c63db33fa /Carpet/LoopControl | |
parent | cb1d0ec7e92d9cd2b7cc528b4e6c909833e49be9 (diff) |
LoopControl: Remove explicit attribute(pure) declarations
Diffstat (limited to 'Carpet/LoopControl')
-rw-r--r-- | Carpet/LoopControl/src/loopcontrol.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/Carpet/LoopControl/src/loopcontrol.h b/Carpet/LoopControl/src/loopcontrol.h index 59ddae4e9..d32c31d11 100644 --- a/Carpet/LoopControl/src/loopcontrol.h +++ b/Carpet/LoopControl/src/loopcontrol.h @@ -140,11 +140,6 @@ static inline int lc_state_valid (lc_statset_t const * restrict const ls, lc_state_t const * restrict const state) - CCTK_ATTRIBUTE_PURE; -static inline -int -lc_state_valid (lc_statset_t const * restrict const ls, - lc_state_t const * restrict const state) { if (state->topology >= 0 && state->topology < ls->ntopologies) { int const * restrict const ntilings = @@ -160,11 +155,6 @@ static inline int lc_state_equal (lc_state_t const * restrict const state1, lc_state_t const * restrict const state2) - CCTK_ATTRIBUTE_PURE; -static inline -int -lc_state_equal (lc_state_t const * restrict const state1, - lc_state_t const * restrict const state2) { return (state1->topology == state2->topology && state1->tiling[0] == state2->tiling[0] && @@ -259,10 +249,6 @@ typedef struct lc_control_t { static inline int lc_min (int const i, int const j) - CCTK_ATTRIBUTE_CONST; -static inline -int -lc_min (int const i, int const j) { return i < j ? i : j; } @@ -270,10 +256,6 @@ lc_min (int const i, int const j) static inline int lc_max (int const i, int const j) - CCTK_ATTRIBUTE_CONST; -static inline -int -lc_max (int const i, int const j) { return i > j ? i : j; } @@ -282,10 +264,6 @@ lc_max (int const i, int const j) static inline int lc_align (int const i, int const di) - CCTK_ATTRIBUTE_CONST; -static inline -int -lc_align (int const i, int const di) { return (i + di - 1) / di * di; } |