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 @@
#include <stdlib.h>
#include <ccan/tap/tap.h>
#include <ccan/tdb/tdb_private.h>
#include "lock-tracking.h"
struct lock {
struct lock *next;
......@@ -132,7 +133,7 @@ done:
return ret;
}
int forget_locking(void)
unsigned int forget_locking(void)
{
unsigned int num = 0;
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