summaryrefslogtreecommitdiff
path: root/source4/torture/ndr
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2016-02-05 11:32:18 +0100
committerJeremy Allison <jra@samba.org>2016-02-06 21:48:17 +0100
commit476672b647e44898a6de8894b23e598ad13b1fcf (patch)
treefc67ec55ef70436208321dd38061147b138fa8ce /source4/torture/ndr
parent5d759bd0d4bf7cae8b54b69af5ecacb7987c2a0f (diff)
downloadsamba-476672b647e44898a6de8894b23e598ad13b1fcf.tar.gz
dlist: remove unneeded type argument from DLIST_ADD_END()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/torture/ndr')
-rw-r--r--source4/torture/ndr/ndr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/ndr/ndr.c b/source4/torture/ndr/ndr.c
index 4147c7dccfe..dac550e5acc 100644
--- a/source4/torture/ndr/ndr.c
+++ b/source4/torture/ndr/ndr.c
@@ -130,7 +130,7 @@ _PUBLIC_ struct torture_test *_torture_suite_add_ndr_pullpush_test(
test->fn = check_fn;
test->dangerous = false;
- DLIST_ADD_END(tcase->tests, test, struct torture_test *);
+ DLIST_ADD_END(tcase->tests, test);
return test;
}
@@ -226,7 +226,7 @@ _PUBLIC_ struct torture_test *_torture_suite_add_ndr_pull_inout_test(
test->fn = check_fn;
test->dangerous = false;
- DLIST_ADD_END(tcase->tests, test, struct torture_test *);
+ DLIST_ADD_END(tcase->tests, test);
return test;
}