X-Git-Url: http://git.tuebingen.mpg.de/?p=dss.git;a=blobdiff_plain;f=file.c;h=d606c16e15242a4ed9069cd1929428ec42bbcd02;hp=84944082960055e272e942aa40a760b5709eb875;hb=96c620fcf383faffb16c89c2ddd9b0857de6dfbb;hpb=90e4077abd237cfd03def4ea023a70ccd9167bcf 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.