The type of eventfd's 'initval' argument should be unsigned.

This commit is contained in:
Jim Blandy 2016-01-01 18:36:50 -08:00
parent 04d93c96be
commit eeb75827c5
1 changed files with 1 additions and 1 deletions

View File

@ -435,7 +435,7 @@ extern {
serv: *mut ::c_char,
sevlen: ::socklen_t,
flags: ::c_int) -> ::c_int;
pub fn eventfd(init: ::c_int, flags: ::c_int) -> ::c_int;
pub fn eventfd(init: ::c_uint, flags: ::c_int) -> ::c_int;
pub fn ptrace(request: ::c_uint, ...) -> ::c_long;
}