[rtems-libbsd commit] DEVFS(5): Fix warning

Sebastian Huber sebh at rtems.org
Wed Mar 28 06:00:06 UTC 2018


Module:    rtems-libbsd
Branch:    master
Commit:    b8f7836e44c9e8a5ab86b8a24ef57206e2ad9be4
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=b8f7836e44c9e8a5ab86b8a24ef57206e2ad9be4

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Mar 27 14:41:50 2018 +0200

DEVFS(5): Fix warning

---

 freebsd/sys/fs/devfs/devfs_int.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/freebsd/sys/fs/devfs/devfs_int.h b/freebsd/sys/fs/devfs/devfs_int.h
index 9e16b40..3a55a52 100644
--- a/freebsd/sys/fs/devfs/devfs_int.h
+++ b/freebsd/sys/fs/devfs/devfs_int.h
@@ -92,6 +92,9 @@ extern struct mtx devfs_de_interlock;
 extern struct sx clone_drain_lock;
 extern struct mtx cdevpriv_mtx;
 extern TAILQ_HEAD(cdev_priv_list, cdev_priv) cdevp_list;
+#ifdef __rtems__
+void devfs_fpdrop(struct file *);
+#endif /* __rtems__ */
 
 #endif /* _KERNEL */
 




More information about the vc mailing list