summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_read.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/thread/thr_read.c')
-rw-r--r--lib/libpthread/thread/thr_read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_read.c b/lib/libpthread/thread/thr_read.c
index 5f5475d..4d81414 100644
--- a/lib/libpthread/thread/thr_read.c
+++ b/lib/libpthread/thread/thr_read.c
@@ -40,7 +40,7 @@
#include <pthread.h>
#include "pthread_private.h"
-#pragma weak read=__read
+__weak_reference(__read, read);
ssize_t
_read(int fd, void *buf, size_t nbytes)
OpenPOWER on IntegriCloud