From 69bdbc1b60333eb3c6bea4c5a6d53a4a6d38ab61 Mon Sep 17 00:00:00 2001 From: rdivacky Date: Tue, 22 Sep 2009 16:16:02 +0000 Subject: Change unsigned foo to u_foo as required by style(9). Requested by: bde Approved by: ed (mentor) --- sys/kern/kern_event.c | 6 +++--- sys/sys/event.h | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'sys') diff --git a/sys/kern/kern_event.c b/sys/kern/kern_event.c index e473ff0..86a950f 100644 --- a/sys/kern/kern_event.c +++ b/sys/kern/kern_event.c @@ -146,7 +146,7 @@ static int filt_userattach(struct knote *kn); 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 long hint) } 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: diff --git a/sys/sys/event.h b/sys/sys/event.h index 56d1630..4365e44 100644 --- a/sys/sys/event.h +++ b/sys/sys/event.h @@ -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); }; /* -- cgit v1.1