]> git.tuebingen.mpg.de Git - osl.git/blobdiff - fd.c
Inline para_fchdir(), move it to fsck.c and rename it.
[osl.git] / fd.c
diff --git a/fd.c b/fd.c
index fd6ef7dcbcac876dbf516a97cb9c0d5b25705cd1..17d56651a087bfe32c00d124eeb95d57458263dd 100644 (file)
--- a/fd.c
+++ b/fd.c
@@ -182,20 +182,6 @@ close_cwd:
        return ret;
 }
 
-/**
- * A wrapper for fchdir().
- *
- * \param fd An open file descriptor.
- *
- * \return Standard.
- */
-int para_fchdir(int fd)
-{
-       if (fchdir(fd) < 0)
-               return -ERRNO_TO_ERROR(errno);
-       return 1;
-}
-
 /**
  * Open a file and map it into memory.
  *