Got rid of unused mmap section.
authorWayne Davison <wayned@samba.org>
Fri, 28 Jan 2005 17:06:41 +0000 (17:06 +0000)
committerWayne Davison <wayned@samba.org>
Fri, 28 Jan 2005 17:06:41 +0000 (17:06 +0000)
syscall.c

index ce9d502..d40ee64 100644 (file)
--- 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