From 372dd3b7d0c81f6f85b0633fa3aaabd8f216bdf4 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Mon, 5 Dec 2011 17:04:31 +1030 Subject: 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 (Imported from CCAN commit a6b5111fe6948e51114c33aa34785c9fd0d403e6) Autobuild-User: Rusty Russell Autobuild-Date: Mon Dec 5 12:13:08 CET 2011 on sn-devel-104 --- lib/tdb2/test/failtest_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/tdb2') 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; -- cgit