aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/nacl
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2016-09-02 16:58:42 -0700
committerRoland McGrath <roland@hack.frob.com>2016-09-02 16:58:42 -0700
commit6b75ba1388bff6a81bad410d7318d385a043b3cb (patch)
treea713277c3a164a4c978104d178442e977e42462f /sysdeps/nacl
parent9a3d16ac152447567bfc822497c564a0630c79fe (diff)
downloadglibc-6b75ba1388bff6a81bad410d7318d385a043b3cb.zip
glibc-6b75ba1388bff6a81bad410d7318d385a043b3cb.tar.gz
glibc-6b75ba1388bff6a81bad410d7318d385a043b3cb.tar.bz2
NaCl: Fix compile error for __dup after libc_hidden_proto addition.
* sysdeps/nacl/dup.c: Add libc_hidden_def.
Diffstat (limited to 'sysdeps/nacl')
-rw-r--r--sysdeps/nacl/dup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/nacl/dup.c b/sysdeps/nacl/dup.c
index 34a7cd4..cbce3f5 100644
--- a/sysdeps/nacl/dup.c
+++ b/sysdeps/nacl/dup.c
@@ -27,4 +27,5 @@ __dup (int fd)
int result;
return NACL_CALL (__nacl_irt_fdio.dup (fd, &result), result);
}
+libc_hidden_def (__dup)
weak_alias (__dup, dup)