From d60e2529c1224531ffe7620597a4cbd533d66871 Mon Sep 17 00:00:00 2001 From: jsteube Date: Thu, 15 Sep 2016 09:38:21 +0200 Subject: [PATCH] Fix missing #endif in opencl.h --- include/opencl.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/opencl.h b/include/opencl.h index d64408a9f..646e99f3f 100644 --- a/include/opencl.h +++ b/include/opencl.h @@ -11,7 +11,6 @@ #define PARAMCNT 64 - #define KERNEL_ACCEL 0 #define KERNEL_LOOPS 0 #define KERNEL_RULES 1024 @@ -225,8 +224,6 @@ struct __hc_device_param u32 kernel_params_memset_buf32[PARAMCNT]; }; -#endif // _OPENCL_H - uint setup_opencl_platforms_filter (char *opencl_platforms); u32 setup_devices_filter (char *opencl_devices); cl_device_type setup_device_types_filter (char *opencl_device_types); @@ -247,3 +244,5 @@ int run_kernel_bzero (hc_device_param_t *device_param, cl_mem buf, const size_t int run_copy (hc_device_param_t *device_param, hashconfig_t *hashconfig, const uint pws_cnt); int run_cracker (hc_device_param_t *device_param, hashconfig_t *hashconfig, const uint pws_cnt); + +#endif // _OPENCL_H