summaryrefslogtreecommitdiff
path: root/libpthread/nptl/unwind.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-20 02:38:48 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:29 +0200
commite9af4dfbd328e9f3bba235fdb2d1027dd2dbbcde (patch)
tree809a8b87c681a241920f31b6a72ec572fe1d0058 /libpthread/nptl/unwind.c
parent293173f87072bbc0cafc457d5d8a6039f4d1d259 (diff)
fix a bunch of build warnings
Added attribute_noreturn even if it has return at the end of function Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libpthread/nptl/unwind.c')
-rw-r--r--libpthread/nptl/unwind.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/nptl/unwind.c b/libpthread/nptl/unwind.c
index 671d70208..39528854c 100644
--- a/libpthread/nptl/unwind.c
+++ b/libpthread/nptl/unwind.c
@@ -99,7 +99,7 @@ unwind_stop (int version, _Unwind_Action actions,
}
-static void
+static attribute_noreturn void
unwind_cleanup (_Unwind_Reason_Code reason, struct _Unwind_Exception *exc)
{
/* When we get here a C++ catch block didn't rethrow the object. We
@@ -115,7 +115,7 @@ unwind_cleanup (_Unwind_Reason_Code reason, struct _Unwind_Exception *exc)
void
-attribute_protected
+/*does not apply due to hidden_proto(): attribute_protected*/
__cleanup_fct_attribute __attribute ((noreturn))
#if !defined SHARED && !defined IS_IN_libpthread
weak_function