X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftdb2%2Fprivate.h;h=1092f171427cbbd097b9738db7fad6ceedb2c066;hb=6dbbfabca414018b4c5acb3e6e597d84e2b19caf;hp=09f447f9221d179377d3e25bddae3a45977c49b1;hpb=51a56b52627e635566253a3fae081c3f466b6bb6;p=ccan diff --git a/ccan/tdb2/private.h b/ccan/tdb2/private.h index 09f447f9..1092f171 100644 --- a/ccan/tdb2/private.h +++ b/ccan/tdb2/private.h @@ -37,7 +37,7 @@ #include #include #include -#ifdef HAVE_BYTESWAP_H +#if HAVE_BYTESWAP_H #include #endif @@ -476,8 +476,6 @@ tdb_off_t tdb_find_zero_off(struct tdb_context *tdb, tdb_off_t off, /* Even on files, we can get partial writes due to signals. */ bool tdb_pwrite_all(int fd, const void *buf, size_t len, tdb_off_t off); -bool tdb_pread_all(int fd, void *buf, size_t len, tdb_off_t off); -bool tdb_read_all(int fd, void *buf, size_t len); /* Allocate and make a copy of some offset. */ void *tdb_alloc_read(struct tdb_context *tdb, tdb_off_t offset, tdb_len_t len);