]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb2/test/failtest_helper.c
tlist: remove type arg from tlist_top(), tlist_tail()
[ccan] / ccan / tdb2 / test / failtest_helper.c
index 3172e3ad6e150478812c6b9e33434929ee147167..ab79de1978c5d80291426dfa565b7a544b8cf48b 100644 (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;