Include <sys/mutex.h> and its prerequisite <sys/lock.h> instesd of depending

on namespace pollution in <sys/vnode.h>.

Sorted includes.
This commit is contained in:
Bruce Evans 2004-04-21 12:10:30 +00:00
parent 2d695ed31d
commit 057e27959f

View File

@ -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);