summaryrefslogtreecommitdiff
path: root/source4/lib/messaging/tests
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-01-31 23:57:02 +0100
committerStefan Metzmacher <metze@samba.org>2009-02-01 00:17:19 +0100
commitf3f2dfc51a25080290e13ed1d1f8c85932e0be31 (patch)
tree43df41cec73b11f0c6adc90628acf45c95654c59 /source4/lib/messaging/tests
parent15239f742cfcebe0bce4dbf4cb74eb2e8dcab364 (diff)
downloadsamba-f3f2dfc51a25080290e13ed1d1f8c85932e0be31.tar.gz
samba-f3f2dfc51a25080290e13ed1d1f8c85932e0be31.tar.bz2
samba-f3f2dfc51a25080290e13ed1d1f8c85932e0be31.zip
s4:lib/messaging: avoid c++ reserved word 'private'
metze
Diffstat (limited to 'source4/lib/messaging/tests')
-rw-r--r--source4/lib/messaging/tests/irpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/messaging/tests/irpc.c b/source4/lib/messaging/tests/irpc.c
index d45bcb6bf7..5d49438c5c 100644
--- a/source4/lib/messaging/tests/irpc.c
+++ b/source4/lib/messaging/tests/irpc.c
@@ -54,9 +54,9 @@ static NTSTATUS irpc_AddOne(struct irpc_message *irpc, struct echo_AddOne *r)
a deferred reply to echodata
*/
static void deferred_echodata(struct tevent_context *ev, struct tevent_timer *te,
- struct timeval t, void *private)
+ struct timeval t, void *private_data)
{
- struct irpc_message *irpc = talloc_get_type(private, struct irpc_message);
+ struct irpc_message *irpc = talloc_get_type(private_data, struct irpc_message);
struct echo_EchoData *r = irpc->data;
r->out.out_data = talloc_memdup(r, r->in.in_data, r->in.len);
if (r->out.out_data == NULL) {