X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=fd.c;h=112f1835d3e228b9ce9ef9b1c515a067752017ae;hb=a25f6bb7169f0ea86522a0c613a8ec1dad358103;hp=d0de66f41be6008c2d3be5afe6dae002fb06ceb5;hpb=a3b9a75159d2530c931aa43f4a662b4d9bd3a4a3;p=paraslash.git diff --git a/fd.c b/fd.c index d0de66f4..112f1835 100644 --- 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. *