Skip to content

Commit

Permalink
Uniform return types
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Kröning <[email protected]>
  • Loading branch information
CarlWachter and mkroening committed May 30, 2024
1 parent d181167 commit ca70a6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/hermit/syscall.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ca70a6f

Please sign in to comment.