Module Name:    src
Committed By:   dholland
Date:           Fri Jun  3 15:15:49 UTC 2016

Modified Files:
        src/sys/sys: vnode.h

Log Message:
avoid "u_int"


To generate a diff of this commit:
cvs rdiff -u -r1.262 -r1.263 src/sys/sys/vnode.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/vnode.h
diff -u src/sys/sys/vnode.h:1.262 src/sys/sys/vnode.h:1.263
--- src/sys/sys/vnode.h:1.262	Thu May 26 11:09:55 2016
+++ src/sys/sys/vnode.h	Fri Jun  3 15:15:49 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: vnode.h,v 1.262 2016/05/26 11:09:55 hannken Exp $	*/
+/*	$NetBSD: vnode.h,v 1.263 2016/06/03 15:15:49 dholland Exp $	*/
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -248,7 +248,7 @@ struct vattr {
 	dev_t		va_rdev;	/* device the special file represents */
 	u_quad_t	va_bytes;	/* bytes of disk space held by file */
 	u_quad_t	va_filerev;	/* file modification number */
-	u_int		va_vaflags;	/* operations flags, see below */
+	unsigned int	va_vaflags;	/* operations flags, see below */
 	long		va_spare;	/* remain quad aligned */
 };
 
@@ -375,7 +375,7 @@ VN_KNOTE(struct vnode *vp, long hint)
  */
 extern struct vnode	*rootvnode;	/* root (i.e. "/") vnode */
 extern int		desiredvnodes;	/* number of vnodes desired */
-extern u_int		numvnodes;	/* current number of vnodes */
+extern unsigned int	numvnodes;	/* current number of vnodes */
 
 #endif /* _KERNEL */
 
@@ -555,8 +555,8 @@ int	vn_marktext(struct vnode *);
 int 	vn_open(struct nameidata *, int, int);
 int 	vn_rdwr(enum uio_rw, struct vnode *, void *, int, off_t, enum uio_seg,
     int, kauth_cred_t, size_t *, struct lwp *);
-int	vn_readdir(struct file *, char *, int, u_int, int *, struct lwp *,
-    off_t **, int *);
+int	vn_readdir(struct file *, char *, int, unsigned int, int *,
+    struct lwp *, off_t **, int *);
 int	vn_stat(struct vnode *, struct stat *);
 int	vn_kqfilter(struct file *, struct knote *);
 int	vn_writechk(struct vnode *);

Reply via email to