diff options
author | Roland McGrath <roland@hack.frob.com> | 2016-09-02 16:58:42 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2016-09-02 16:59:57 -0700 |
commit | a7a89294919144e58ae59d03f809ca3f8553ee77 (patch) | |
tree | b6fb4e675f227900222ec3469e33ec34ea19d6a1 /sysdeps | |
parent | d289049cf550b975487f94dfbd7af9d5a50b2233 (diff) | |
download | glibc-a7a89294919144e58ae59d03f809ca3f8553ee77.zip glibc-a7a89294919144e58ae59d03f809ca3f8553ee77.tar.gz glibc-a7a89294919144e58ae59d03f809ca3f8553ee77.tar.bz2 |
NaCl: Fix compile error for __dup after libc_hidden_proto addition.
* sysdeps/nacl/dup.c: Add libc_hidden_def.
(cherry picked from commit 6b75ba1388bff6a81bad410d7318d385a043b3cb)
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/nacl/dup.c | 1 |
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) |