diff options
author | rdivacky <rdivacky@FreeBSD.org> | 2009-09-22 16:16:02 +0000 |
---|---|---|
committer | rdivacky <rdivacky@FreeBSD.org> | 2009-09-22 16:16:02 +0000 |
commit | 69bdbc1b60333eb3c6bea4c5a6d53a4a6d38ab61 (patch) | |
tree | 3ae833228543e310860ec87bc74eb3d1cc0f2f34 /sys | |
parent | 335809a00b5cc09d0ebd4b51f8513a42306fa5b5 (diff) | |
download | FreeBSD-src-69bdbc1b60333eb3c6bea4c5a6d53a4a6d38ab61.zip FreeBSD-src-69bdbc1b60333eb3c6bea4c5a6d53a4a6d38ab61.tar.gz |
Change unsigned foo to u_foo as required by style(9).
Requested by: bde
Approved by: ed (mentor)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/kern_event.c | 6 | ||||
-rw-r--r-- | sys/sys/event.h | 3 |
2 files changed, 4 insertions, 5 deletions
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); }; /* |