From c017cb1461375edfa64844b179516a650e0618c9 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sat, 12 Aug 2006 19:05:18 +0000 Subject: 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) --- source4/lib/tdb/common/tdb_private.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'source4/lib/tdb/common') 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" -- cgit