svn commit: r197407 - in head/sys: kern sys

Roman Divacky rdivacky at FreeBSD.org
Tue Sep 22 16:16:02 UTC 2009


Author: rdivacky
Date: Tue Sep 22 16:16:02 2009
New Revision: 197407
URL: http://svn.freebsd.org/changeset/base/197407

Log:
  Change unsigned foo to u_foo as required by style(9).
  
  Requested by:	bde
  Approved by:	ed (mentor)

Modified:
  head/sys/kern/kern_event.c
  head/sys/sys/event.h

Modified: head/sys/kern/kern_event.c
==============================================================================
--- head/sys/kern/kern_event.c	Tue Sep 22 15:43:03 2009	(r197406)
+++ head/sys/kern/kern_event.c	Tue Sep 22 16:16:02 2009	(r197407)
@@ -146,7 +146,7 @@ static int	filt_userattach(struct knote 
 static void	filt_userdetach(struct knote *kn);
 static int	filt_user(struct knote *kn, long hint);
 static void	filt_usertouch(struct knote *kn, struct kevent *kev,
-		    unsigned long type);
+		    u_long type);
 
 static struct filterops file_filtops = {
 	.f_isfd = 1,
@@ -617,9 +617,9 @@ filt_user(struct knote *kn, __unused lon
 }
 
 static void
-filt_usertouch(struct knote *kn, struct kevent *kev, unsigned long type)
+filt_usertouch(struct knote *kn, struct kevent *kev, u_long type)
 {
-	unsigned int ffctrl;
+	u_int ffctrl;
 
 	switch (type) {
 	case EVENT_REGISTER:

Modified: head/sys/sys/event.h
==============================================================================
--- head/sys/sys/event.h	Tue Sep 22 15:43:03 2009	(r197406)
+++ head/sys/sys/event.h	Tue Sep 22 16:16:02 2009	(r197407)
@@ -191,8 +191,7 @@ struct filterops {
 	int	(*f_attach)(struct knote *kn);
 	void	(*f_detach)(struct knote *kn);
 	int	(*f_event)(struct knote *kn, long hint);
-	void	(*f_touch)(struct knote *kn, struct kevent *kev,
-		    unsigned long type);
+	void	(*f_touch)(struct knote *kn, struct kevent *kev, u_long type);
 };
 
 /*


More information about the svn-src-all mailing list