]> git.tuebingen.mpg.de Git - osl.git/blobdiff - fd.c
Make para_mkdir() static inline and rename it to osl_mkdir().
[osl.git] / fd.c
diff --git a/fd.c b/fd.c
index 13708ac64f3e4b490703408dd371fcd504eb5f43..95976d6817fba4e6571f4a2ac3eab3673af18353 100644 (file)
--- a/fd.c
+++ b/fd.c
@@ -144,21 +144,6 @@ int para_fchdir(int fd)
        return 1;
 }
 
-/**
- * A wrapper for mkdir(2).
- *
- * \param path Name of the directory to create.
- * \param mode The permissions to use.
- *
- * \return Standard.
- */
-int para_mkdir(const char *path, mode_t mode)
-{
-       if (!mkdir(path, mode))
-               return 1;
-       return -ERRNO_TO_ERROR(errno);
-}
-
 /**
  * Open a file and map it into memory.
  *