]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb2/private.h
tdb2: minor optimization for set_header
[ccan] / ccan / tdb2 / private.h
index 6c727aff4a20a62dc800e5806079742cd32d7ec1..6780fdadd421303ee9aec389cae999b8b96d755c 100644 (file)
@@ -380,7 +380,7 @@ int add_free_record(struct tdb_context *tdb, unsigned int zone_bits,
 int set_header(struct tdb_context *tdb,
               struct tdb_used_record *rec,
               uint64_t keylen, uint64_t datalen,
-              uint64_t actuallen, uint64_t hash,
+              uint64_t actuallen, unsigned hashlow,
               unsigned int zone_bits);
 
 /* Used by tdb_check to verify. */