diff options
author | Thomas White <taw@physics.org> | 2020-08-27 16:48:09 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-08-27 16:48:09 +0200 |
commit | 7c839f23409c88235132ff054c8a767be9895147 (patch) | |
tree | 2bfd6fa454dd6d021bc296b35130efac169807e1 /libcrystfel | |
parent | 3a6892a6b5df59bf3531519ea2ee6c875ebbead9 (diff) |
TakeTwo: Remove internal declarations
Diffstat (limited to 'libcrystfel')
-rw-r--r-- | libcrystfel/src/indexers/taketwo.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libcrystfel/src/indexers/taketwo.c b/libcrystfel/src/indexers/taketwo.c index aef88582..c27b50c7 100644 --- a/libcrystfel/src/indexers/taketwo.c +++ b/libcrystfel/src/indexers/taketwo.c @@ -1557,7 +1557,8 @@ static int find_seeds(struct TakeTwoCell *cell, struct taketwo_private *tp) cell->seeds = tmp; - for (int i = 0; i < seed_num; i++) + int i; + for ( i = 0; i < seed_num; i++) { if (seeds[i].idx1 < 0 || seeds[i].idx2 < 0) { @@ -2106,7 +2107,8 @@ static void partial_taketwo_cleanup(struct taketwo_private *tp) { if (tp->prevSols != NULL) { - for (int i = 0; i < tp->numPrevs; i++) + int i; + for (i = 0; i < tp->numPrevs; i++) { gsl_matrix_free(tp->prevSols[i]); } |