summaryrefslogtreecommitdiff
path: root/libpthread/nptl/unwind.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-02-26 19:41:29 +0100
committerPeter S. Mazinger <ps.m@gmx.net>2011-03-03 18:22:49 +0100
commitf00e553e4b084007781df5e4b5accc2e152da231 (patch)
tree99fccddabb872405e1830d975ea9c3ba457a0d9d /libpthread/nptl/unwind.c
parent380b5c5b31bdbf5e171ce035009e5e53b0ea230d (diff)
add missing prototypes
Add some missing prototypes Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Diffstat (limited to 'libpthread/nptl/unwind.c')
-rw-r--r--libpthread/nptl/unwind.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libpthread/nptl/unwind.c b/libpthread/nptl/unwind.c
index 0322a6023..8f60ae410 100644
--- a/libpthread/nptl/unwind.c
+++ b/libpthread/nptl/unwind.c
@@ -117,6 +117,9 @@ unwind_cleanup (_Unwind_Reason_Code reason, struct _Unwind_Exception *exc)
void
attribute_protected
__cleanup_fct_attribute __attribute ((noreturn))
+#if !defined SHARED && !defined IS_IN_LIBPTHREAD
+weak_function
+#endif
__pthread_unwind (__pthread_unwind_buf_t *buf)
{
struct pthread_unwind_buf *ibuf = (struct pthread_unwind_buf *) buf;