From ca70a6f9d2d99a4e2b8a74dbd252d475a573de5d Mon Sep 17 00:00:00 2001 From: CarlWachter <108410475+CarlWachter@users.noreply.github.com> Date: Thu, 30 May 2024 14:02:25 +0200 Subject: [PATCH] Uniform return types MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Martin Kröning --- platform/hermit/syscall.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/hermit/syscall.h b/platform/hermit/syscall.h index 53c11bc..05ac045 100644 --- a/platform/hermit/syscall.h +++ b/platform/hermit/syscall.h @@ -115,7 +115,7 @@ int sys_recmutex_lock(HermitRecursiveMutex* recmutex); int sys_recmutex_unlock(HermitRecursiveMutex* recmutex); int sys_sem_init(HermitSemaphore** sem, unsigned int pshared, unsigned int value); int sys_sem_destroy(HermitSemaphore* sem); -int32_t sys_sem_post(HermitSemaphore* sem); +int sys_sem_post(HermitSemaphore* sem); int sys_sem_trywait(HermitSemaphore* sem); int sys_sem_timedwait(HermitSemaphore *sem, unsigned int ms); #define sys_sem_wait(sem) sys_sem_timedwait(sem, 0)