change proto (uint -> int) for pthread_*_np() functions
- same prototype on bitrig and openbsd - for netbsd, I did found it at all (?)
This commit is contained in:
parent
27fd4f8661
commit
040976b20f
@ -364,10 +364,10 @@ extern {
|
||||
pub fn backtrace(buf: *mut *mut ::c_void, sz: ::size_t) -> ::size_t;
|
||||
pub fn shm_open(name: *const ::c_char, oflag: ::c_int, mode: ::mode_t)
|
||||
-> ::c_int;
|
||||
pub fn pthread_main_np() -> ::c_uint;
|
||||
pub fn pthread_main_np() -> ::c_int;
|
||||
pub fn pthread_set_name_np(tid: ::pthread_t, name: *const ::c_char);
|
||||
pub fn pthread_stackseg_np(thread: ::pthread_t,
|
||||
sinfo: *mut ::stack_t) -> ::c_uint;
|
||||
sinfo: *mut ::stack_t) -> ::c_int;
|
||||
pub fn memrchr(cx: *const ::c_void, c: ::c_int, n: ::size_t) -> *mut ::c_void;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user