projects
/
ccan
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd1c68c
)
tdb: fix test helper to include own header, fix function definition.
author
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 14 Sep 2010 11:06:12 +0000
(20:36 +0930)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 14 Sep 2010 11:06:12 +0000
(20:36 +0930)
ccan/tdb/test/lock-tracking.c
patch
|
blob
|
history
diff --git
a/ccan/tdb/test/lock-tracking.c
b/ccan/tdb/test/lock-tracking.c
index f6e97138e8b7f07b5b00336a9d7a0ed834d045d9..8e8bb999c52df90ce01a444b4d987b511b2c2e16 100644
(file)
--- a/
ccan/tdb/test/lock-tracking.c
+++ b/
ccan/tdb/test/lock-tracking.c
@@
-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) {