summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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(