Fix m 60 a 0 by making modified variable non-const
[hashcat.git] / OpenCL / markov_le.cl
index b8afee6..2729446 100644 (file)
@@ -3,13 +3,13 @@
  * License.....: MIT
  */
 
-#include "include/kernel_vendor.h"
+#include "inc_vendor.cl"
 
 #define CHARSIZ 256
 
-#include "OpenCL/types_ocl.c"
+#include "inc_types.cl"
 
-static void generate_pw (u32 pw_buf[16], __global cs_t *root_css_buf, __global cs_t *markov_css_buf, const u32 pw_l_len, const u32 pw_r_len, const u32 mask80, const u32 bits14, const u32 bits15, u64 val)
+inline void generate_pw (u32 pw_buf[16], __global cs_t *root_css_buf, __global cs_t *markov_css_buf, const u32 pw_l_len, const u32 pw_r_len, const u32 mask80, const u32 bits14, const u32 bits15, u64 val)
 {
   pw_buf[ 0] = 0;
   pw_buf[ 1] = 0;