aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-03-22 09:35:45 +0100
committerThomas White <taw@physics.org>2021-03-22 09:35:45 +0100
commit214564b240fd2f54203bec72551af130ca3b4a92 (patch)
tree31396e91b5567821cde4a393e813073e16f21612
parent6a4d681da9ac355b3b8d73861a6dcb5bc42ef2ba (diff)
FromFile indexer: Fix prototype
-rw-r--r--libcrystfel/src/index.c2
-rw-r--r--libcrystfel/src/indexers/fromfile.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c
index 0ce9e2a2..7097a94a 100644
--- a/libcrystfel/src/index.c
+++ b/libcrystfel/src/index.c
@@ -641,7 +641,7 @@ static int try_indexer(struct image *image, IndexingMethod indm,
case INDEXING_FILE :
set_last_task(last_task, "indexing:file");
- r = fromfile_index(image, mpriv, 0);
+ r = fromfile_index(image, mpriv);
break;
case INDEXING_FELIX :
diff --git a/libcrystfel/src/indexers/fromfile.h b/libcrystfel/src/indexers/fromfile.h
index 5f1d24d9..35f885f5 100644
--- a/libcrystfel/src/indexers/fromfile.h
+++ b/libcrystfel/src/indexers/fromfile.h
@@ -37,7 +37,7 @@
extern int fromfile_default_options(FromFileOptions **opts_ptr);
extern void *fromfile_prepare(IndexingMethod *indm,
struct fromfile_options *opts);
-extern int fromfile_index(struct image *image, void *mpriv, int crystal_number);
+extern int fromfile_index(struct image *image, void *mpriv);
extern void fromfile_cleanup(void *mpriv);
#endif /* FROMFILE_H */