std: change sig of uv::ll::accept, again.

This commit is contained in:
Jeff Olson 2012-05-08 06:17:51 -07:00 committed by Brian Anderson
parent 465412aeff
commit a4127d3fc6

View file

@ -642,7 +642,7 @@ unsafe fn listen<T>(stream: *T, backlog: libc::c_int,
ret rustrt::rust_uv_listen(stream as *libc::c_void, backlog, cb);
}
unsafe fn accept<T, U>(server: *T, client: *T)
unsafe fn accept(server: *libc::c_void, client: *libc::c_void)
-> libc::c_int {
ret rustrt::rust_uv_accept(server as *libc::c_void,
client as *libc::c_void);