summaryrefslogtreecommitdiff
path: root/libobjc/thr.c
diff options
context:
space:
mode:
authorAndrew Pinski <pinskia@physics.uc.edu>2004-07-22 22:20:08 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2004-07-22 15:20:08 -0700
commitbc012a4440604de653b86d5ed27c88cb903ba937 (patch)
tree8b03343ec172e3fbe2ddb7a1cd4baf836c73beb2 /libobjc/thr.c
parent73b71f3e137fb50881429d16ee8fe6b983cc59e8 (diff)
downloadgcc-bc012a4440604de653b86d5ed27c88cb903ba937.tar.gz
thr.c (__objc_thread_detach_function): Do not mark as volatile but instead use the attribute noreturn.
2004-07-22 Andrew Pinski <pinskia@physics.uc.edu> * thr.c (__objc_thread_detach_function): Do not mark as volatile but instead use the attribute noreturn. From-SVN: r85061
Diffstat (limited to 'libobjc/thr.c')
-rw-r--r--libobjc/thr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libobjc/thr.c b/libobjc/thr.c
index c8e8173ad8b..7420cfaf2d0 100644
--- a/libobjc/thr.c
+++ b/libobjc/thr.c
@@ -75,8 +75,8 @@ struct __objc_thread_start_state
id argument;
};
-static volatile void
-__objc_thread_detach_function (struct __objc_thread_start_state *istate)
+static void __attribute__((noreturn))
+__objc_thread_detach_function (struct __objc_thread_start_state *istate)
{
/* Valid state? */
if (istate) {