summaryrefslogtreecommitdiffstats
path: root/lib/libc_r/uthread/uthread_sendfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc_r/uthread/uthread_sendfile.c')
-rw-r--r--lib/libc_r/uthread/uthread_sendfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc_r/uthread/uthread_sendfile.c b/lib/libc_r/uthread/uthread_sendfile.c
index cb6f5d7..3df24f1 100644
--- a/lib/libc_r/uthread/uthread_sendfile.c
+++ b/lib/libc_r/uthread/uthread_sendfile.c
@@ -37,7 +37,7 @@
#include <pthread.h>
#include "pthread_private.h"
-#pragma weak sendfile=_sendfile
+__weak_reference(_sendfile, sendfile);
int
_sendfile(int fd, int s, off_t offset, size_t nbytes, struct sf_hdtr *hdtr,
OpenPOWER on IntegriCloud