diff options
author | Artyom Pavlov <newpavlov@gmail.com> | 2019-09-20 06:13:48 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-20 06:13:48 +0000 |
commit | e51a79f3d345504439a09d33edee6b023b581290 (patch) | |
tree | 3524536c2800f5efc69afb586d90cdb619c87e91 /src/unix/mod.rs | |
parent | c443f1a9aa001f837c37273beab6aa8945673ba1 (diff) | |
download | rust-libc-e51a79f3d345504439a09d33edee6b023b581290.tar.gz |
pthread_exit fix
Diffstat (limited to 'src/unix/mod.rs')
-rw-r--r-- | src/unix/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unix/mod.rs b/src/unix/mod.rs index 8d78cea726..15656de95f 100644 --- a/src/unix/mod.rs +++ b/src/unix/mod.rs @@ -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( |