aboutsummaryrefslogtreecommitdiff
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:59:57 -0700
commita7a89294919144e58ae59d03f809ca3f8553ee77 (patch)
treeb6fb4e675f227900222ec3469e33ec34ea19d6a1
parentd289049cf550b975487f94dfbd7af9d5a50b2233 (diff)
downloadglibc-a7a89294919144e58ae59d03f809ca3f8553ee77.tar
glibc-a7a89294919144e58ae59d03f809ca3f8553ee77.tar.gz
glibc-a7a89294919144e58ae59d03f809ca3f8553ee77.tar.bz2
glibc-a7a89294919144e58ae59d03f809ca3f8553ee77.zip
NaCl: Fix compile error for __dup after libc_hidden_proto addition.
* sysdeps/nacl/dup.c: Add libc_hidden_def. (cherry picked from commit 6b75ba1388bff6a81bad410d7318d385a043b3cb)
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/nacl/dup.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2738295ab1..1708d50457 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
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
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)