aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/reax.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-05-27 17:24:58 +0200
committerThomas White <taw@physics.org>2013-05-27 17:31:46 +0200
commit2977589d2201ade9aa02289a54359288af2ff16e (patch)
treea1ae8d4ff9546618b81bf45cb072f8654254d661 /libcrystfel/src/reax.h
parenta1bb441471131ed15e9820576b82b9e3172ab1c0 (diff)
Fix ReAx stack corruption
Diffstat (limited to 'libcrystfel/src/reax.h')
-rw-r--r--libcrystfel/src/reax.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/reax.h b/libcrystfel/src/reax.h
index f1c57e6c..1b96bd5d 100644
--- a/libcrystfel/src/reax.h
+++ b/libcrystfel/src/reax.h
@@ -46,7 +46,7 @@ extern IndexingPrivate *reax_prepare(IndexingMethod *indm, UnitCell *cell,
extern void reax_cleanup(IndexingPrivate *pp);
-extern int reax_index(struct image *image, IndexingPrivate *p);
+extern int reax_index(IndexingPrivate *pp, struct image *image);
#else /* HAVE_FFTW */
@@ -61,7 +61,7 @@ static void reax_cleanup(IndexingPrivate *pp)
{
}
-static int reax_index(struct image *image, IndexingPrivate *p)
+static int reax_index(IndexingPrivate *pp, struct image *image);
{
}