aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/vfs_cache.c
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2010-06-21 09:55:56 +0000
committerEd Schouten <ed@FreeBSD.org>2010-06-21 09:55:56 +0000
commit60ae52f785331b48d1f4e82a9cf3f2d0da9540d5 (patch)
tree916572d41a618634b84823c3b89048c2144938df /sys/kern/vfs_cache.c
parentc51050129f349837af73605da2f93d408b62e968 (diff)
downloadsrc-60ae52f785331b48d1f4e82a9cf3f2d0da9540d5.tar.gz
src-60ae52f785331b48d1f4e82a9cf3f2d0da9540d5.zip
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.
Notes
Notes: svn path=/head/; revision=209390
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 a13a721850d9..c0732ac63f72 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;