about summary refs log tree commit diff
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
parent9a3d16ac152447567bfc822497c564a0630c79fe (diff)
downloadglibc-6b75ba1388bff6a81bad410d7318d385a043b3cb.tar.gz
glibc-6b75ba1388bff6a81bad410d7318d385a043b3cb.tar.xz
glibc-6b75ba1388bff6a81bad410d7318d385a043b3cb.zip
NaCl: Fix compile error for __dup after libc_hidden_proto addition.
	* sysdeps/nacl/dup.c: Add libc_hidden_def.
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/nacl/dup.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 254fcfbd35..07cc5027ed 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 34a7cd46d4..cbce3f5a5a 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)