X-Git-Url: http://git.tuebingen.mpg.de/?p=dss.git;a=blobdiff_plain;f=file.c;h=d606c16e15242a4ed9069cd1929428ec42bbcd02;hp=84944082960055e272e942aa40a760b5709eb875;hb=2d10a72798da5489363088dfbe02ccbc5942cfcd;hpb=16f02580474d5f4a284863f48416a2a51fa78e85 diff --git a/file.c b/file.c index 8494408..d606c16 100644 --- a/file.c +++ b/file.c @@ -69,19 +69,6 @@ out: closedir(dir); return ret; } -/** - * Wrapper for chdir(2). - * - * \param path The specified directory. - * - * \return Standard. - */ -int dss_chdir(const char *path) -{ - if (chdir(path) >= 0) - return 1; - return -ERRNO_TO_DSS_ERROR(errno); -} /** * Set a file descriptor to non-blocking mode.