summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArtyom Pavlov <newpavlov@gmail.com>2019-09-20 06:13:48 +0000
committerGitHub <noreply@github.com>2019-09-20 06:13:48 +0000
commite51a79f3d345504439a09d33edee6b023b581290 (patch)
tree3524536c2800f5efc69afb586d90cdb619c87e91 /src
parentc443f1a9aa001f837c37273beab6aa8945673ba1 (diff)
downloadrust-libc-e51a79f3d345504439a09d33edee6b023b581290.tar.gz
pthread_exit fix
Diffstat (limited to 'src')
-rw-r--r--src/unix/mod.rs2
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(