diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/unistd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h index 289eb4b740..26993d4dfe 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -140,4 +140,8 @@ extern int __libc_enable_secure_internal attribute_hidden; /* Various internal function. */ extern void __libc_check_standard_fds (void); + +/* Special exit function which only terminates the current thread. */ +extern void __exit_thread (int val) __attribute__ ((noreturn)); + #endif |