]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - fd.c
fd: Remove file_exists().
[paraslash.git] / fd.c
diff --git a/fd.c b/fd.c
index d0de66f41be6008c2d3be5afe6dae002fb06ceb5..112f1835d3e228b9ce9ef9b1c515a067752017ae 100644 (file)
--- a/fd.c
+++ b/fd.c
@@ -304,20 +304,6 @@ out:
        return ret;
 }
 
-/**
- * Check whether a file exists.
- *
- * \param fn The file name.
- *
- * \return True iff file exists.
- */
-bool file_exists(const char *fn)
-{
-       struct stat statbuf;
-
-       return !stat(fn, &statbuf);
-}
-
 /**
  * Set a file descriptor to blocking mode.
  *