From: Wayne Davison Date: Fri, 28 Jan 2005 17:06:41 +0000 (+0000) Subject: Got rid of unused mmap section. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/df6933406f3aaf3c5d241b283efeb53111a7bfcd Got rid of unused mmap section. --- diff --git a/syscall.c b/syscall.c index ce9d5029..d40ee646 100644 --- a/syscall.c +++ b/syscall.c @@ -251,17 +251,6 @@ OFF_T do_lseek(int fd, OFF_T offset, int whence) #endif } -#ifdef USE_MMAP -void *do_mmap(void *start, int len, int prot, int flags, int fd, OFF_T offset) -{ -#if SIZEOF_OFF64_T - return mmap64(start, len, prot, flags, fd, offset); -#else - return mmap(start, len, prot, flags, fd, offset); -#endif -} -#endif - char *d_name(struct dirent *di) { #if HAVE_BROKEN_READDIR