From 362b76fd74fa23110f2309ae25e07f3faae1f528 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 21 Oct 2019 14:01:09 +0200 Subject: [PATCH] Update sthread_get_current_thread_id --- libretro-common/include/rthreads/rthreads.h | 4 ++-- libretro-common/rthreads/rthreads.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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();