r17507: pread and pwrite depends on HAVE_PREAD/HAVE_PWRITE not HAVE_PREAD_DECL/HAVE_P...
authorSimo Sorce <idra@samba.org>
Sat, 12 Aug 2006 19:05:18 +0000 (19:05 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:15:30 +0000 (14:15 -0500)
and common/io.h already defines pread and pwrite as static if they are not.

remove unneded defines

source/lib/tdb/common/tdb_private.h

index b3e074f978d42a3d72ad1c0fc109c893ffcf6054..e77b2f209897f2f3c69d11882a8069c17558119e 100644 (file)
 #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"