Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d679c83
)
Got rid of unused mmap section.
author
Wayne Davison
<wayned@samba.org>
Fri, 28 Jan 2005 17:06:41 +0000
(17:06 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 28 Jan 2005 17:06:41 +0000
(17:06 +0000)
syscall.c
patch
|
blob
|
blame
|
history
diff --git
a/syscall.c
b/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
}
#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
char *d_name(struct dirent *di)
{
#if HAVE_BROKEN_READDIR