From 06f06d4fdf113812de8f57a7b007cc948073a1c7 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 10 Nov 2017 14:19:29 +0100 Subject: [PATCH] Fix warning --- freebsd/sys/sys/mutex.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/freebsd/sys/sys/mutex.h b/freebsd/sys/sys/mutex.h index 3b5d3834..5325b363 100644 --- a/freebsd/sys/sys/mutex.h +++ b/freebsd/sys/sys/mutex.h @@ -103,7 +103,9 @@ void mtx_sysinit(void *arg); #ifndef __rtems__ int _mtx_trylock_flags_(volatile uintptr_t *c, int opts, const char *file, int line); +#endif /* __rtems__ */ void mutex_init(void); +#ifndef __rtems__ #if LOCK_DEBUG > 0 void __mtx_lock_sleep(volatile uintptr_t *c, uintptr_t v, uintptr_t tid, int opts, const char *file, int line);