X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/987a546756461b305120d08e379bd83c95fbc39b..27b067f87b85f0466d00707bff4817d8850d0ef2:/syscall.c diff --git a/syscall.c b/syscall.c index d4ff3f91..f1b73ea0 100644 --- a/syscall.c +++ b/syscall.c @@ -282,12 +282,3 @@ OFF_T do_lseek(int fd, OFF_T offset, int whence) return lseek(fd, offset, whence); #endif } - -char *d_name(struct dirent *di) -{ -#ifdef HAVE_BROKEN_READDIR - return (di->d_name - 2); -#else - return di->d_name; -#endif -}