diff --git a/libretro-common/include/rthreads/rthreads.h b/libretro-common/include/rthreads/rthreads.h index d0bafe53e8..e4eb208c4e 100644 --- a/libretro-common/include/rthreads/rthreads.h +++ b/libretro-common/include/rthreads/rthreads.h @@ -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 diff --git a/libretro-common/rthreads/rthreads.c b/libretro-common/rthreads/rthreads.c index 8d164adaa3..5b3e5d6557 100644 --- a/libretro-common/rthreads/rthreads.c +++ b/libretro-common/rthreads/rthreads.c @@ -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();