about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/symlinkat.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/symlinkat.c')
-rw-r--r--sysdeps/mach/hurd/symlinkat.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/symlinkat.c b/sysdeps/mach/hurd/symlinkat.c
index c70650948e..91ea7520c2 100644
--- a/sysdeps/mach/hurd/symlinkat.c
+++ b/sysdeps/mach/hurd/symlinkat.c
@@ -28,7 +28,7 @@
 
 /* Make a link to FROM called TO relative to FD.  */
 int
-symlinkat (const char *from, int fd, const char *to)
+__symlinkat (const char *from, int fd, const char *to)
 {
   error_t err;
   file_t dir, node;
@@ -70,3 +70,5 @@ symlinkat (const char *from, int fd, const char *to)
     return __hurd_fail (err);
   return 0;
 }
+
+weak_alias (__symlinkat, symlinkat)