From 941a11c243ddced4f9a7b7a5723d3b95d77c8651 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 1 Mar 2010 20:29:16 +0100 Subject: Fix build when OpenCL is disabled --- src/diffraction-gpu.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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; } -- cgit v1.2.3