1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-21 23:58:07 +00:00

fix MinGW compilation

HC_API_CALL needs to be placed not just on the declaration.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2023-08-11 22:59:00 -07:00
parent d0d07daf91
commit a59e030d7f
No known key found for this signature in database
GPG Key ID: 36D31CFA845F0E3B
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;