aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/taketwo.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/taketwo.c')
-rw-r--r--libcrystfel/src/taketwo.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libcrystfel/src/taketwo.c b/libcrystfel/src/taketwo.c
index a012d91a..87da44a1 100644
--- a/libcrystfel/src/taketwo.c
+++ b/libcrystfel/src/taketwo.c
@@ -1459,7 +1459,7 @@ static void cleanup_taketwo_cell(struct TakeTwoCell *ttCell)
* @rot: pointer to be given an assignment (hopefully) if indexing is
* successful.
**/
-static UnitCell *run_taketwo(UnitCell *cell, struct taketwo_options *opts,
+static UnitCell *run_taketwo(UnitCell *cell, const struct taketwo_options *opts,
struct rvec *rlps, int rlp_count)
{
int cell_vec_count = 0;
@@ -1546,7 +1546,8 @@ static UnitCell *run_taketwo(UnitCell *cell, struct taketwo_options *opts,
/* CrystFEL interface hooks */
-int taketwo_index(struct image *image, struct taketwo_options *opts, void *priv)
+int taketwo_index(struct image *image, const struct taketwo_options *opts,
+ void *priv)
{
Crystal *cr;
UnitCell *cell;