git.samba.org
/
jelmer
/
samba4-debian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6520e3c
)
r17507: pread and pwrite depends on HAVE_PREAD/HAVE_PWRITE not HAVE_PREAD_DECL/HAVE_P...
author
Simo Sorce
<idra@samba.org>
Sat, 12 Aug 2006 19:05:18 +0000
(19:05 +0000)
committer
Gerald (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
patch
|
blob
|
history
diff --git
a/source/lib/tdb/common/tdb_private.h
b/source/lib/tdb/common/tdb_private.h
index b3e074f978d42a3d72ad1c0fc109c893ffcf6054..e77b2f209897f2f3c69d11882a8069c17558119e 100644
(file)
--- a/
source/lib/tdb/common/tdb_private.h
+++ b/
source/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"