[rtems-libbsd commit] Fix warning
Sebastian Huber
sebh at rtems.org
Fri Nov 10 13:22:23 UTC 2017
Module: rtems-libbsd
Branch: master
Commit: 06f06d4fdf113812de8f57a7b007cc948073a1c7
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=06f06d4fdf113812de8f57a7b007cc948073a1c7
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Nov 10 14:19:29 2017 +0100
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 3b5d383..5325b36 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);
More information about the vc
mailing list