diff options
author | Michael Adam <obnox@samba.org> | 2016-02-05 11:32:18 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2016-02-06 21:48:17 +0100 |
commit | 476672b647e44898a6de8894b23e598ad13b1fcf (patch) | |
tree | fc67ec55ef70436208321dd38061147b138fa8ce /source3/lib | |
parent | 5d759bd0d4bf7cae8b54b69af5ecacb7987c2a0f (diff) | |
download | samba-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 'source3/lib')
-rw-r--r-- | source3/lib/smbldap.c | 2 | ||||
-rw-r--r-- | source3/lib/unix_msg/unix_msg.c | 2 | ||||
-rw-r--r-- | source3/lib/util_ea.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/smbldap.c b/source3/lib/smbldap.c index 1560f65c07a..5a876e019e8 100644 --- a/source3/lib/smbldap.c +++ b/source3/lib/smbldap.c @@ -545,7 +545,7 @@ static void smbldap_store_state(LDAP *ld, struct smbldap_state *smbldap_state) t = SMB_XMALLOC_P(struct smbldap_state_lookup); ZERO_STRUCTP(t); - DLIST_ADD_END(smbldap_state_lookup_list, t, struct smbldap_state_lookup *); + DLIST_ADD_END(smbldap_state_lookup_list, t); t->ld = ld; t->smbldap_state = smbldap_state; } diff --git a/source3/lib/unix_msg/unix_msg.c b/source3/lib/unix_msg/unix_msg.c index cb648ede97f..bcfef2852d9 100644 --- a/source3/lib/unix_msg/unix_msg.c +++ b/source3/lib/unix_msg/unix_msg.c @@ -495,7 +495,7 @@ static int queue_msg(struct unix_dgram_send_queue *q, msghdr_copy(hdr, msghdrlen, NULL, 0, iov, iovcnt, fds_copy, num_fds); - DLIST_ADD_END(q->msgs, msg, struct unix_dgram_msg); + DLIST_ADD_END(q->msgs, msg); return 0; fail: close_fd_array(fds_copy, num_fds); diff --git a/source3/lib/util_ea.c b/source3/lib/util_ea.c index e980e69ab4c..136291bec94 100644 --- a/source3/lib/util_ea.c +++ b/source3/lib/util_ea.c @@ -103,7 +103,7 @@ struct ea_list *read_nttrans_ea_list(TALLOC_CTX *ctx, const char *pdata, size_t return NULL; } - DLIST_ADD_END(ea_list_head, eal, struct ea_list *); + DLIST_ADD_END(ea_list_head, eal); if (next_offset == 0) { break; } |