[PATCH] select() warning fixes
authorAndrew Morton <akpm@osdl.org>
Tue, 11 Apr 2006 05:52:46 +0000 (22:52 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 11 Apr 2006 13:18:30 +0000 (06:18 -0700)
commit29ff2db55196717e2e67e0f04adc833ee7edd491
tree7f68496e093a294d60939b60aa204ff16fb9633a
parent8a5bc075b8d8cf7a87b3f08fad2fba0f5d13295e
[PATCH] select() warning fixes

fs/select.c: In function `core_sys_select':
fs/select.c:339: warning: assignment from incompatible pointer type
fs/select.c:376: warning: comparison of distinct pointer types lacks a cast

By using a void* we can remove lots of casts rather than adding more.

Cc: Jes Sorensen <jes@trained-monkey.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/select.c