Skip to content

Commit e51a79f

Browse files
authored
pthread_exit fix
1 parent c443f1a commit e51a79f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unix/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@ extern "C" {
10481048
native: ::pthread_t,
10491049
value: *mut *mut ::c_void,
10501050
) -> ::c_int;
1051-
pub fn pthread_exit(value: *mut ::c_void);
1051+
pub fn pthread_exit(value: *mut ::c_void) -> !;
10521052
pub fn pthread_attr_init(attr: *mut ::pthread_attr_t) -> ::c_int;
10531053
pub fn pthread_attr_destroy(attr: *mut ::pthread_attr_t) -> ::c_int;
10541054
pub fn pthread_attr_setstacksize(

0 commit comments

Comments
 (0)