diff options
author | bde <bde@FreeBSD.org> | 2004-04-21 12:10:30 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2004-04-21 12:10:30 +0000 |
commit | ff09fc7686b223a15d4ff23a6f01f379deeb646a (patch) | |
tree | 346916eabd0dbf153ef7f2db299de35f7620ed36 /sys/kern | |
parent | a2a9798706fbd65b26aa9fbc8c2a8156f0aadb3b (diff) | |
download | FreeBSD-src-ff09fc7686b223a15d4ff23a6f01f379deeb646a.zip FreeBSD-src-ff09fc7686b223a15d4ff23a6f01f379deeb646a.tar.gz |
Include <sys/mutex.h> and its prerequisite <sys/lock.h> instesd of depending
on namespace pollution in <sys/vnode.h>.
Sorted includes.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/vfs_export.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/sys/kern/vfs_export.c b/sys/kern/vfs_export.c index 2be2ac0..a90d6f8 100644 --- a/sys/kern/vfs_export.c +++ b/sys/kern/vfs_export.c @@ -38,17 +38,20 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> -#include <sys/systm.h> +#include <sys/dirent.h> +#include <sys/domain.h> #include <sys/kernel.h> -#include <sys/socket.h> +#include <sys/lock.h> #include <sys/malloc.h> #include <sys/mbuf.h> #include <sys/mount.h> -#include <net/radix.h> -#include <sys/domain.h> -#include <sys/dirent.h> +#include <sys/mutex.h> +#include <sys/socket.h> +#include <sys/systm.h> #include <sys/vnode.h> +#include <net/radix.h> + static MALLOC_DEFINE(M_NETADDR, "Export Host", "Export host address structure"); static void vfs_free_addrlist(struct netexport *nep); |