]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
NaCl: Fix compile error for __dup after libc_hidden_proto addition.
authorRoland McGrath <roland@hack.frob.com>
Fri, 2 Sep 2016 23:58:42 +0000 (16:58 -0700)
committerRoland McGrath <roland@hack.frob.com>
Fri, 2 Sep 2016 23:59:57 +0000 (16:59 -0700)
* sysdeps/nacl/dup.c: Add libc_hidden_def.

(cherry picked from commit 6b75ba1388bff6a81bad410d7318d385a043b3cb)

ChangeLog
sysdeps/nacl/dup.c

index 2738295ab10d5c067a37c4f88b294d3de1b50606..1708d50457941a883cdd4bae6c3d7cfe7b10e9b2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-09-02  Roland McGrath  <roland@hack.frob.com>
+
+       * sysdeps/nacl/dup.c: Add libc_hidden_def.
+
 2016-09-02  Roland McGrath  <roland@hack.frob.com>
 
        * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
index 34a7cd46d47fc02c1276ba530fa13d41241f071b..cbce3f5a5afd921b30cbb5c8f35983e760c86b7d 100644 (file)
@@ -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)