summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_cache.c
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2010-06-21 09:55:56 +0000
committered <ed@FreeBSD.org>2010-06-21 09:55:56 +0000
commit76489ac1ea604f511232838164573ea21e9a74a8 (patch)
tree916572d41a618634b84823c3b89048c2144938df /sys/kern/vfs_cache.c
parent107ec73aada25d2e0a7051e1f2a8cbef92902d04 (diff)
downloadFreeBSD-src-76489ac1ea604f511232838164573ea21e9a74a8.zip
FreeBSD-src-76489ac1ea604f511232838164573ea21e9a74a8.tar.gz
Use ISO C99 integer types in sys/kern where possible.
There are only about 100 occurences of the BSD-specific u_int*_t datatypes in sys/kern. The ISO C99 integer types are used here more often.
Diffstat (limited to 'sys/kern/vfs_cache.c')
-rw-r--r--sys/kern/vfs_cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c
index a13a721..c0732ac 100644
--- a/sys/kern/vfs_cache.c
+++ b/sys/kern/vfs_cache.c
@@ -379,7 +379,7 @@ cache_lookup(dvp, vpp, cnp)
struct componentname *cnp;
{
struct namecache *ncp;
- u_int32_t hash;
+ uint32_t hash;
int error, ltype, wlocked;
if (!doingcache) {
@@ -602,7 +602,7 @@ cache_enter(dvp, vp, cnp)
{
struct namecache *ncp, *n2;
struct nchashhead *ncpp;
- u_int32_t hash;
+ uint32_t hash;
int flag;
int hold;
int zap;
OpenPOWER on IntegriCloud