summaryrefslogtreecommitdiffstats
path: root/lib/libthr/sys/thr_error.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libthr/sys/thr_error.c')
-rw-r--r--lib/libthr/sys/thr_error.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libthr/sys/thr_error.c b/lib/libthr/sys/thr_error.c
index 45295c5..852588a 100644
--- a/lib/libthr/sys/thr_error.c
+++ b/lib/libthr/sys/thr_error.c
@@ -42,8 +42,9 @@
#undef errno
extern int errno;
+__weak_reference(__error_threaded, __error);
int *
-__error(void)
+__error_threaded(void)
{
struct pthread *curthread;
OpenPOWER on IntegriCloud