about summary refs log tree commit diff
path: root/io
diff options
context:
space:
mode:
Diffstat (limited to 'io')
-rw-r--r--io/fchdir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/io/fchdir.c b/io/fchdir.c
index c79b4f2397..843f10109c 100644
--- a/io/fchdir.c
+++ b/io/fchdir.c
@@ -21,11 +21,11 @@
 
 /* Change the current directory to FD.  */
 int
-fchdir (fd)
-     int fd;
+__fchdir (int fd)
 {
   __set_errno (ENOSYS);
   return -1;
 }
+weak_alias (__fchdir, fchdir)
 
 stub_warning (fchdir)