summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/forward.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/nptl/forward.c')
-rw-r--r--libpthread/nptl/forward.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpthread/nptl/forward.c b/libpthread/nptl/forward.c
index e5f93d475..e3b8a4f23 100644
--- a/libpthread/nptl/forward.c
+++ b/libpthread/nptl/forward.c
@@ -191,6 +191,7 @@ FORWARD (pthread_setcancelstate, (int state, int *oldstate), (state, oldstate),
FORWARD (pthread_setcanceltype, (int type, int *oldtype), (type, oldtype), 0)
+#ifndef __UCLIBC__
#define return /* value is void */
FORWARD2(__pthread_unwind,
void attribute_hidden __attribute ((noreturn)) __cleanup_fct_attribute
@@ -201,3 +202,4 @@ FORWARD2(__pthread_unwind,
INTERNAL_SYSCALL (kill, err, 1, SIGKILL);
})
#undef return
+#endif