summaryrefslogtreecommitdiff
path: root/lib/tdb2/test
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2011-12-05 17:04:31 +1030
committerRusty Russell <rusty@rustcorp.com.au>2011-12-05 12:13:08 +0100
commit372dd3b7d0c81f6f85b0633fa3aaabd8f216bdf4 (patch)
tree1641418f7c608a397a98aa443ac53cf99a7b661e /lib/tdb2/test
parentc6133b4755dfcea6e566479abb67ddb94c447d04 (diff)
downloadsamba-372dd3b7d0c81f6f85b0633fa3aaabd8f216bdf4.tar.gz
samba-372dd3b7d0c81f6f85b0633fa3aaabd8f216bdf4.tar.bz2
samba-372dd3b7d0c81f6f85b0633fa3aaabd8f216bdf4.zip
tdb2: tlist: remove type arg from tlist_top(), tlist_tail()
With the type canary, it's unnecessary. Though the implementation is a bit more awkward since they longer map directly through to list_top/tail. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit a6b5111fe6948e51114c33aa34785c9fd0d403e6) Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Mon Dec 5 12:13:08 CET 2011 on sn-devel-104
Diffstat (limited to 'lib/tdb2/test')
-rw-r--r--lib/tdb2/test/failtest_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tdb2/test/failtest_helper.c b/lib/tdb2/test/failtest_helper.c
index 3172e3ad6e..ab79de1978 100644
--- a/lib/tdb2/test/failtest_helper.c
+++ b/lib/tdb2/test/failtest_helper.c
@@ -72,7 +72,7 @@ block_repeat_failures(struct tlist_calls *history)
{
const struct failtest_call *last;
- last = tlist_tail(history, struct failtest_call, list);
+ last = tlist_tail(history, list);
if (failtest_suppress)
return FAIL_DONT_FAIL;