Skip to content

Commit a4127d3

Browse files
olsonjefferybrson
authored andcommitted
std: change sig of uv::ll::accept, again.
1 parent 465412a commit a4127d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/uv_ll.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ unsafe fn listen<T>(stream: *T, backlog: libc::c_int,
642642
ret rustrt::rust_uv_listen(stream as *libc::c_void, backlog, cb);
643643
}
644644

645-
unsafe fn accept<T, U>(server: *T, client: *T)
645+
unsafe fn accept(server: *libc::c_void, client: *libc::c_void)
646646
-> libc::c_int {
647647
ret rustrt::rust_uv_accept(server as *libc::c_void,
648648
client as *libc::c_void);

0 commit comments

Comments
 (0)