aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2013-04-29 14:30:37 -0700
committerRoland McGrath <roland@hack.frob.com>2013-04-29 14:30:37 -0700
commita6a242fe7cc0d7fcac1c9741d8be2ca8c2a5c744 (patch)
tree2c2210d71a4b52c465087437d9d71121a3823aaf
parentf2da7793096c58b30ca57380da4c1343cabc4044 (diff)
downloadglibc-a6a242fe7cc0d7fcac1c9741d8be2ca8c2a5c744.zip
glibc-a6a242fe7cc0d7fcac1c9741d8be2ca8c2a5c744.tar.gz
glibc-a6a242fe7cc0d7fcac1c9741d8be2ca8c2a5c744.tar.bz2
Make stub fchdir.c define __fchdir.
-rw-r--r--ChangeLog5
-rw-r--r--io/fchdir.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 207fe4f..a56bf73 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-04-29 Roland McGrath <roland@hack.frob.com>
+
+ * io/fchdir.c (__fchdir): Renamed from fchdir.
+ (fchdir): Define as weak alias.
+
2013-04-29 Joseph Myers <joseph@codesourcery.com>
* math/libm-test.inc (ERRNO_UNCHANGED): New macro.
diff --git a/io/fchdir.c b/io/fchdir.c
index c79b4f2..843f101 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)