FIX: cherrypick some fixes from https://github.com/Proxmark/proxmark3/pull/550 (pwpiwi)

This commit is contained in:
iceman1001 2018-01-23 17:41:47 +01:00
commit aad1e65b97
3 changed files with 11 additions and 45 deletions

View file

@ -138,8 +138,13 @@ bool verify_key(uint32_t cuid, noncelist_t *nonces, uint8_t *best_first_bytes, u
}
return true;
}
static void* __attribute__((force_align_arg_pointer)) crack_states_thread(void* x){
static void*
#ifdef __has_attribute
#if __has_attribute(force_align_arg_pointer)
__attribute__((force_align_arg_pointer))
#endif
#endif
crack_states_thread(void* x){
struct arg {
bool silent;
int thread_ID;