[COMMITTED] NaCl: Fix symbol names for euidaccess.
diff mbox

Message ID 20150429220646.584B32C3B98@topped-with-meat.com
State New
Headers show

Commit Message

Roland McGrath April 29, 2015, 10:06 p.m. UTC
* sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
	(euidaccess, eaccess): Define as weak aliases.

Patch
diff mbox

diff --git a/sysdeps/nacl/euidaccess.c b/sysdeps/nacl/euidaccess.c
index 036e736..50cbcfb 100644
--- a/sysdeps/nacl/euidaccess.c
+++ b/sysdeps/nacl/euidaccess.c
@@ -20,8 +20,10 @@ 
 
 /* Test for access to FILE.  */
 int
-euidaccess (const char *file, int type)
+__euidaccess (const char *file, int type)
 {
   /* No NaCl process will ever be set-ID, so access and euidaccess are one.  */
   return __access (file, type);
 }
+weak_alias (__euidaccess, euidaccess)
+weak_alias (__euidaccess, eaccess)