Auto merge of #1525 - newpavlov:patch-4, r=gnzlbg
pthread_exit return type fix Closes: #1520
This commit is contained in:
commit
2f5ed5d9b3
|
@ -3732,7 +3732,7 @@ extern "C" {
|
|||
native: ::pthread_t,
|
||||
value: *mut *mut ::c_void,
|
||||
) -> ::c_int;
|
||||
pub fn pthread_exit(value: *mut ::c_void);
|
||||
pub fn pthread_exit(value: *mut ::c_void) -> !;
|
||||
pub fn pthread_attr_init(attr: *mut ::pthread_attr_t) -> ::c_int;
|
||||
pub fn pthread_attr_destroy(attr: *mut ::pthread_attr_t) -> ::c_int;
|
||||
pub fn pthread_attr_setstacksize(
|
||||
|
|
|
@ -1048,7 +1048,7 @@ extern "C" {
|
|||
native: ::pthread_t,
|
||||
value: *mut *mut ::c_void,
|
||||
) -> ::c_int;
|
||||
pub fn pthread_exit(value: *mut ::c_void);
|
||||
pub fn pthread_exit(value: *mut ::c_void) -> !;
|
||||
pub fn pthread_attr_init(attr: *mut ::pthread_attr_t) -> ::c_int;
|
||||
pub fn pthread_attr_destroy(attr: *mut ::pthread_attr_t) -> ::c_int;
|
||||
pub fn pthread_attr_setstacksize(
|
||||
|
|
|
@ -1318,7 +1318,7 @@ extern "C" {
|
|||
pub fn flock(fd: ::c_int, operation: ::c_int) -> ::c_int;
|
||||
|
||||
pub fn gettimeofday(tp: *mut ::timeval, tz: *mut ::c_void) -> ::c_int;
|
||||
pub fn pthread_exit(value: *mut ::c_void);
|
||||
pub fn pthread_exit(value: *mut ::c_void) -> !;
|
||||
pub fn pthread_attr_setdetachstate(
|
||||
attr: *mut ::pthread_attr_t,
|
||||
state: ::c_int,
|
||||
|
|
Loading…
Reference in New Issue