From e9af4dfbd328e9f3bba235fdb2d1027dd2dbbcde Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sun, 20 Mar 2011 02:38:48 +0100 Subject: 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 Signed-off-by: Bernhard Reutner-Fischer --- libpthread/nptl/unwind.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libpthread/nptl/unwind.c') 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 -- cgit v1.2.3