mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 15:20:10 +00:00
NaCl: Fix compile error for __dup after libc_hidden_proto addition.
* sysdeps/nacl/dup.c: Add libc_hidden_def.
This commit is contained in:
parent
9a3d16ac15
commit
6b75ba1388
@ -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.
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user