From 258a465e20e007a30043220367d17ecfc87b4f90 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 18 Sep 2006 07:52:16 +0000 Subject: r18605: sync dlinklist.h with samba4, that means DLIST_ADD_END() and DLIST_DEMOTE() now take the type of the tmp pointer not the tmp pointer itself anymore. metze (This used to be commit 2f58645b7094e81dff3734f11aa183ea2ab53d2d) --- source3/nsswitch/winbindd_dual.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/nsswitch/winbindd_dual.c') diff --git a/source3/nsswitch/winbindd_dual.c b/source3/nsswitch/winbindd_dual.c index e2e0db8570..128c468dd3 100644 --- a/source3/nsswitch/winbindd_dual.c +++ b/source3/nsswitch/winbindd_dual.c @@ -108,7 +108,7 @@ void async_request(TALLOC_CTX *mem_ctx, struct winbindd_child *child, void (*continuation)(void *private_data, BOOL success), void *private_data) { - struct winbindd_async_request *state, *tmp; + struct winbindd_async_request *state; SMB_ASSERT(continuation != NULL); @@ -127,7 +127,7 @@ void async_request(TALLOC_CTX *mem_ctx, struct winbindd_child *child, state->continuation = continuation; state->private_data = private_data; - DLIST_ADD_END(child->requests, state, tmp); + DLIST_ADD_END(child->requests, state, struct winbindd_async_request *); schedule_async_request(child); -- cgit