aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/indexers/fromfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/indexers/fromfile.c')
-rw-r--r--libcrystfel/src/indexers/fromfile.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/libcrystfel/src/indexers/fromfile.c b/libcrystfel/src/indexers/fromfile.c
index 9a99b242..f0372489 100644
--- a/libcrystfel/src/indexers/fromfile.c
+++ b/libcrystfel/src/indexers/fromfile.c
@@ -42,14 +42,10 @@
#include "image.h"
#include "uthash.h"
+#include "index.h"
/** \file fromfile.h */
-struct fromfile_options
-{
- char *filename;
-};
-
#define MAX_KEY_LEN (256)
#define MAX_CRYSTALS (16)
@@ -373,9 +369,9 @@ static void fromfile_show_help()
}
-int fromfile_default_options(FromFileOptions **opts_ptr)
+int fromfile_default_options(struct fromfile_options **opts_ptr)
{
- FromFileOptions *opts;
+ struct fromfile_options *opts;
opts = malloc(sizeof(struct fromfile_options));
if ( opts == NULL ) return ENOMEM;
opts->filename = NULL;