This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[COMMITTED PATCH] Make stub fchdir.c define __fchdir.


2013-04-29  Roland McGrath  <roland@hack.frob.com>

	* io/fchdir.c (__fchdir): Renamed from fchdir.
	(fchdir): Define as weak alias.

--- 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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]