NaCl: Fix compile error for __dup after libc_hidden_proto addition.

* sysdeps/nacl/dup.c: Add libc_hidden_def.
This commit is contained in:
Roland McGrath 2016-09-02 16:58:42 -07:00
parent 9a3d16ac15
commit 6b75ba1388
2 changed files with 3 additions and 0 deletions

View File

@ -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.

View 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)