diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-11-10 14:19:29 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-11-10 14:19:29 +0100 |
commit | 06f06d4fdf113812de8f57a7b007cc948073a1c7 (patch) | |
tree | 0114f311ccc969a8ee9c9d48334b9f0f73361d6b /freebsd/sys/sys | |
parent | tcpdump: Fix import/export (diff) | |
download | rtems-libbsd-06f06d4fdf113812de8f57a7b007cc948073a1c7.tar.bz2 |
Fix warning
Diffstat (limited to 'freebsd/sys/sys')
-rw-r--r-- | freebsd/sys/sys/mutex.h | 2 |
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); |