From ce394330a8d86edc5757cc1c36beb9aa70ae832e Mon Sep 17 00:00:00 2001 From: fincs Date: Wed, 18 Dec 2019 00:40:27 +0100 Subject: [PATCH] svcSignalProcessWideKey doesn't actually return anything --- nx/include/switch/kernel/condvar.h | 3 ++- nx/include/switch/kernel/svc.h | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nx/include/switch/kernel/condvar.h b/nx/include/switch/kernel/condvar.h index 778a5365..6ff11d28 100644 --- a/nx/include/switch/kernel/condvar.h +++ b/nx/include/switch/kernel/condvar.h @@ -51,7 +51,8 @@ static inline Result condvarWait(CondVar* c, Mutex* m) */ static inline Result condvarWake(CondVar* c, int num) { - return svcSignalProcessWideKey(c, num); + svcSignalProcessWideKey(c, num); + return 0; } /** diff --git a/nx/include/switch/kernel/svc.h b/nx/include/switch/kernel/svc.h index d04605df..1dd1c142 100644 --- a/nx/include/switch/kernel/svc.h +++ b/nx/include/switch/kernel/svc.h @@ -472,10 +472,9 @@ Result svcWaitProcessWideKeyAtomic(u32* key, u32* tag_location, u32 self_tag, u6 /** * @brief Performs a condition variable wake-up operation in userspace. - * @return Result code. * @note Syscall number 0x1D. */ -Result svcSignalProcessWideKey(u32* key, s32 num); +void svcSignalProcessWideKey(u32* key, s32 num); ///@}