Update sthread_get_current_thread_id

This commit is contained in:
twinaphex 2019-10-21 14:01:09 +02:00
parent e968dd85e2
commit 362b76fd74
2 changed files with 3 additions and 3 deletions

View File

@ -259,10 +259,10 @@ uintptr_t sthread_get_thread_id(sthread_t *thread);
/*
* @brief Get thread ID of the current thread
* @param thread
* @param
* @return The ID of the current thread
*/
uintptr_t sthread_get_current_thread_id(sthread_t *thread);
uintptr_t sthread_get_current_thread_id(void);
RETRO_END_DECLS

View File

@ -948,7 +948,7 @@ uintptr_t sthread_get_thread_id(sthread_t *thread)
return (uintptr_t)thread->id;
}
uintptr_t sthread_get_current_thread_id(sthread_t *thread)
uintptr_t sthread_get_current_thread_id(void)
{
#ifdef USE_WIN32_THREADS
return (uintptr_t)GetCurrentThreadId();