fix MinGW compilation

HC_API_CALL needs to be placed not just on the declaration.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
pull/3831/head
Rosen Penev 9 months ago
parent d0d07daf91
commit a59e030d7f
No known key found for this signature in database
GPG Key ID: 36D31CFA845F0E3B

@ -16462,7 +16462,7 @@ int backend_session_update_mp_rl (hashcat_ctx_t *hashcat_ctx, const u32 css_cnt_
return 0;
}
void *hook12_thread (void *p)
HC_API_CALL void *hook12_thread (void *p)
{
hook_thread_param_t *hook_thread_param = (hook_thread_param_t *) p;
@ -16486,7 +16486,7 @@ void *hook12_thread (void *p)
return NULL;
}
void *hook23_thread (void *p)
HC_API_CALL void *hook23_thread (void *p)
{
hook_thread_param_t *hook_thread_param = (hook_thread_param_t *) p;

@ -2003,7 +2003,7 @@ void brain_server_handle_signal (int signo)
}
}
void *brain_server_handle_dumps (void *p)
HC_API_CALL void *brain_server_handle_dumps (void *p)
{
brain_server_dumper_options_t *brain_server_dumper_options = (brain_server_dumper_options_t *) p;
@ -2035,7 +2035,7 @@ void *brain_server_handle_dumps (void *p)
return NULL;
}
void *brain_server_handle_client (void *p)
HC_API_CALL void *brain_server_handle_client (void *p)
{
brain_server_client_options_t *brain_server_client_options = (brain_server_client_options_t *) p;

Loading…
Cancel
Save