summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpthread/linuxthreads.old/internals.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libpthread/linuxthreads.old/internals.h b/libpthread/linuxthreads.old/internals.h
index bc15bdff5..259c0e948 100644
--- a/libpthread/linuxthreads.old/internals.h
+++ b/libpthread/linuxthreads.old/internals.h
@@ -470,7 +470,11 @@ void __fresetlockfiles(void);
void __pthread_manager_adjust_prio(int thread_prio);
void __pthread_initialize_minimal (void);
-extern void __pthread_exit (void *retval);
+extern void __pthread_exit (void *retval)
+#if defined NOT_IN_libc && IS_IN_libpthread
+ attribute_noreturn
+#endif
+ ;
extern int __pthread_attr_setguardsize __P ((pthread_attr_t *__attr,
size_t __guardsize));