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:58:42 -0700 |
commit | 6b75ba1388bff6a81bad410d7318d385a043b3cb (patch) | |
tree | a713277c3a164a4c978104d178442e977e42462f | |
parent | 9a3d16ac152447567bfc822497c564a0630c79fe (diff) | |
download | glibc-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.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | sysdeps/nacl/dup.c | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -1,5 +1,7 @@ 2016-09-02 Roland McGrath <roland@hack.frob.com> + * sysdeps/nacl/dup.c: Add libc_hidden_def. + * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's not any more. 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) |