1
mirror of https://github.com/hashcat/hashcat synced 2024-11-20 23:27:31 +01:00

Remove inline keyword in DECLSPEC for CPU

This commit is contained in:
Jens Steube 2020-03-03 08:52:26 +01:00
parent e53bff0fb0
commit b4bac70bd6

View File

@ -110,16 +110,12 @@
* fast but pure kernels on rocm is a good example
*/
#if defined IS_CPU
#define DECLSPEC inline
#elif defined IS_GPU
#define DECLSPEC
#if defined IS_AMD
#if defined IS_GPU
#define DECLSPEC inline static
#else
#define DECLSPEC
#endif
#else
#define DECLSPEC
#endif
/**
@ -149,8 +145,10 @@
#endif
#ifdef IS_INTEL_SDK
#define USE_BITSELECT
#define USE_ROTATE
#ifdef IS_CPU
//#define USE_BITSELECT
//#define USE_ROTATE
#endif
#endif
#ifdef IS_OPENCL