diff options
author | Simo Sorce <idra@samba.org> | 2006-08-12 19:05:18 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:15:30 -0500 |
commit | c017cb1461375edfa64844b179516a650e0618c9 (patch) | |
tree | a53b067b8918a403984bc53aaf52d82292b07fc8 /source4 | |
parent | 8b9e08fe76bb324b78ff33b766a46dec2f7492ec (diff) | |
download | samba-c017cb1461375edfa64844b179516a650e0618c9.tar.gz samba-c017cb1461375edfa64844b179516a650e0618c9.tar.bz2 samba-c017cb1461375edfa64844b179516a650e0618c9.zip |
r17507: pread and pwrite depends on HAVE_PREAD/HAVE_PWRITE not HAVE_PREAD_DECL/HAVE_PWRITE_DECL
and common/io.h already defines pread and pwrite as static if they are not.
remove unneded defines
(This used to be commit 941f680453a081d51f6499f9b5dc06c7e6640334)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/lib/tdb/common/tdb_private.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source4/lib/tdb/common/tdb_private.h b/source4/lib/tdb/common/tdb_private.h index b3e074f978..e77b2f2098 100644 --- a/source4/lib/tdb/common/tdb_private.h +++ b/source4/lib/tdb/common/tdb_private.h @@ -46,13 +46,6 @@ #endif #include "tdb.h" -#ifndef HAVE_PREAD_DECL -ssize_t pread(int fd, void *buf, size_t count, off_t offset); -#endif -#ifndef HAVE_PWRITE_DECL -ssize_t pwrite(int fd, const void *buf, size_t count, off_t offset); -#endif - #else #include "includes.h" #include "lib/tdb/include/tdb.h" |