]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb2/test/run-firstkey-nextkey.c
tdb2: make tdb2 compile clean under -Wshadow.
[ccan] / ccan / tdb2 / test / run-firstkey-nextkey.c
index db52c85281b4da599789ceffd3fd10166b2643d2..d07745f9f0a1d7a0799daa14f8ddb9d39d18e22c 100644 (file)
@@ -5,6 +5,7 @@
 #include <ccan/tdb2/hash.c>
 #include <ccan/tdb2/check.c>
 #include <ccan/tdb2/traverse.c>
+#include <ccan/tdb2/transaction.c>
 #include <ccan/tap/tap.h>
 #include "logging.h"
 
@@ -125,7 +126,7 @@ int main(int argc, char *argv[])
                        k = k2;
                }
 
-               /* But arbitary orderings should work too. */
+               /* But arbitrary orderings should work too. */
                for (j = td.calls-1; j > 0; j--) {
                        k.dptr = (unsigned char *)&td.records[j-1];
                        k.dsize = sizeof(td.records[j-1]);