Commit bc012a44 by Andrew Pinski Committed by Andrew Pinski

thr.c (__objc_thread_detach_function): Do not mark as volatile but instead use…

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
parent 73b71f3e
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.
2004-06-28 Zack Weinberg <zack@codesourcery.com>
* encoding.c: Rename target_flags with a #define to avoid
......
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment