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>
|
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
|
* sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
|
||||||
not any more.
|
not any more.
|
||||||
|
|
||||||
|
@ -27,4 +27,5 @@ __dup (int fd)
|
|||||||
int result;
|
int result;
|
||||||
return NACL_CALL (__nacl_irt_fdio.dup (fd, &result), result);
|
return NACL_CALL (__nacl_irt_fdio.dup (fd, &result), result);
|
||||||
}
|
}
|
||||||
|
libc_hidden_def (__dup)
|
||||||
weak_alias (__dup, dup)
|
weak_alias (__dup, dup)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user