1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

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
This commit is contained in:
Rusty Russell 2011-12-05 17:04:31 +10:30
parent c6133b4755
commit 372dd3b7d0

View File

@ -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;