summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/sys/mount.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-10-09 22:52:54 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-10-10 09:08:23 +0200
commite599318e912d8836c59d8b5202e3e31a6b8dcae9 (patch)
tree1172b8b830a1c3236e45c834c2b80e01325ea144 /freebsd/sys/sys/mount.h
parentMove files to match FreeBSD layout (diff)
downloadrtems-libbsd-e599318e912d8836c59d8b5202e3e31a6b8dcae9.tar.bz2
Update files to match FreeBSD layout
Add compatibility with Newlib header files. Some FreeBSD header files are mapped by the translation script: o rtems/bsd/sys/_types.h o rtems/bsd/sys/errno.h o rtems/bsd/sys/lock.h o rtems/bsd/sys/param.h o rtems/bsd/sys/resource.h o rtems/bsd/sys/time.h o rtems/bsd/sys/timespec.h o rtems/bsd/sys/types.h o rtems/bsd/sys/unistd.h It is now possible to include <sys/socket.h> directly for example. Generate one Makefile which builds everything including tests.
Diffstat (limited to 'freebsd/sys/sys/mount.h')
-rw-r--r--freebsd/sys/sys/mount.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/freebsd/sys/sys/mount.h b/freebsd/sys/sys/mount.h
index 9ec6915d..fcf80bd5 100644
--- a/freebsd/sys/sys/mount.h
+++ b/freebsd/sys/sys/mount.h
@@ -30,15 +30,15 @@
* $FreeBSD$
*/
-#ifndef _SYS_MOUNT_HH_
-#define _SYS_MOUNT_HH_
+#ifndef _SYS_MOUNT_H_
+#define _SYS_MOUNT_H_
-#include <freebsd/sys/ucred.h>
-#include <freebsd/sys/queue.h>
+#include <sys/ucred.h>
+#include <sys/queue.h>
#ifdef _KERNEL
-#include <freebsd/sys/lock.h>
-#include <freebsd/sys/lockmgr.h>
-#include <freebsd/sys/_mutex.h>
+#include <rtems/bsd/sys/lock.h>
+#include <sys/lockmgr.h>
+#include <sys/_mutex.h>
#endif
/*
@@ -663,7 +663,7 @@ vfs_statfs_t __vfs_statfs;
VN_KNOTE((vp), (hint), 0); \
} while (0)
-#include <freebsd/sys/module.h>
+#include <sys/module.h>
/*
* Version numbers.
@@ -771,7 +771,7 @@ vfs_sysctl_t vfs_stdsysctl;
#else /* !_KERNEL */
-#include <freebsd/sys/cdefs.h>
+#include <sys/cdefs.h>
struct stat;
@@ -795,4 +795,4 @@ __END_DECLS
#endif /* _KERNEL */
-#endif /* !_SYS_MOUNT_HH_ */
+#endif /* !_SYS_MOUNT_H_ */