aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-03-01 20:29:16 +0100
committerThomas White <taw@bitwiz.org.uk>2010-03-01 20:29:16 +0100
commit941a11c243ddced4f9a7b7a5723d3b95d77c8651 (patch)
tree5f8db6476de4279409886cefa2f5446ba7a62e91
parent878b836a58f6b5f83a473399e6f139f8adacf73e (diff)
Fix build when OpenCL is disabled
-rw-r--r--src/diffraction-gpu.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/diffraction-gpu.h b/src/diffraction-gpu.h
index 05f393a1..c0ab15e3 100644
--- a/src/diffraction-gpu.h
+++ b/src/diffraction-gpu.h
@@ -31,15 +31,15 @@ extern void cleanup_gpu(struct gpu_context *gctx);
#else
-static void get_diffraction_gpu(struct gpu_context *gctx, struct image *image,
- int na, int nb, int nc)
+static void get_diffraction_gpu(struct gpu_context *gctx, struct image *image)
{
/* Do nothing */
ERROR("This copy of CrystFEL was not compiled with OpenCL support.\n");
}
static struct gpu_context *setup_gpu(int no_sfac, struct image *image,
- struct molecule *molecule)
+ struct molecule *molecule,
+ int na, int nb, int nc)
{
return NULL;
}