X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/aa0e6b9977eff5c5433239a916623a4a3e8a67cb..0b7894460092b8b3939f2d89ba9ebde15843d6ab:/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 -}