summaryrefslogtreecommitdiff
path: root/lib/fchdir-stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fchdir-stub.c')
-rw-r--r--lib/fchdir-stub.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/fchdir-stub.c b/lib/fchdir-stub.c
deleted file mode 100644
index 922236211..000000000
--- a/lib/fchdir-stub.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <config.h>
-#include <sys/types.h>
-#include <errno.h>
-
-/* A trivial substitute for `fchdir'.
-
- DJGPP 2.03 and earlier don't have `fchdir'. */
-
-int
-fchdir (int fd)
-{
- errno = ENOSYS;
- return -1;
-}