summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-11-10 14:19:29 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-11-10 14:19:29 +0100
commit06f06d4fdf113812de8f57a7b007cc948073a1c7 (patch)
tree0114f311ccc969a8ee9c9d48334b9f0f73361d6b
parent4525674a97c8abbcbb602d78646f3957a0fd988c (diff)
Fix warning
-rw-r--r--freebsd/sys/sys/mutex.h2
1 files changed, 2 insertions, 0 deletions
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);