Commit 233e3055 authored by Rusty Russell's avatar Rusty Russell

tdb: fix test helper to include own header, fix function definition.

parent cd1c68c0
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <ccan/tap/tap.h> #include <ccan/tap/tap.h>
#include <ccan/tdb/tdb_private.h> #include <ccan/tdb/tdb_private.h>
#include "lock-tracking.h"
struct lock { struct lock {
struct lock *next; struct lock *next;
...@@ -132,7 +133,7 @@ done: ...@@ -132,7 +133,7 @@ done:
return ret; return ret;
} }
int forget_locking(void) unsigned int forget_locking(void)
{ {
unsigned int num = 0; unsigned int num = 0;
while (locks) { while (locks) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment