From e06952e9eefb0affb65d5361d1919d28bee5974d Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 15 Oct 2018 16:01:47 +0200 Subject: Remove cells_are_similar() from API There are two functions with this name. Avoid confusion. --- libcrystfel/src/cell-utils.c | 4 ++-- libcrystfel/src/cell-utils.h | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'libcrystfel') diff --git a/libcrystfel/src/cell-utils.c b/libcrystfel/src/cell-utils.c index 852887a6..7b1984bb 100644 --- a/libcrystfel/src/cell-utils.c +++ b/libcrystfel/src/cell-utils.c @@ -1703,8 +1703,8 @@ static double moduli_check(double ax, double ay, double az, } -int cells_are_similar(UnitCell *cell1, UnitCell *cell2, - const double ltl, const double atl) +static int cells_are_similar(UnitCell *cell1, UnitCell *cell2, + const double ltl, const double atl) { double asx1, asy1, asz1, bsx1, bsy1, bsz1, csx1, csy1, csz1; double asx2, asy2, asz2, bsx2, bsy2, bsz2, csx2, csy2, csz2; diff --git a/libcrystfel/src/cell-utils.h b/libcrystfel/src/cell-utils.h index cc721634..d0af717a 100644 --- a/libcrystfel/src/cell-utils.h +++ b/libcrystfel/src/cell-utils.h @@ -53,9 +53,6 @@ extern UnitCell *transform_cell_gsl(UnitCell *in, gsl_matrix *m); extern void cell_print(UnitCell *cell); -extern int cells_are_similar(UnitCell *cell1, UnitCell *cell2, - const double ltl, const double atl); - extern UnitCell *match_cell(UnitCell *cell, UnitCell *tempcell, int verbose, const float *ltl, int reduce); -- cgit v1.2.3