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)