From 8249a467e365d7dc5eb52fd4c1315870405debb4 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 2 Feb 2009 12:59:28 +0100 Subject: [PATCH] lib/tevent: s/private/private_data metze --- lib/tevent/testsuite.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/tevent/testsuite.c b/lib/tevent/testsuite.c index 1b811f5fa2e..faa18577a7a 100644 --- a/lib/tevent/testsuite.c +++ b/lib/tevent/testsuite.c @@ -27,9 +27,9 @@ static int fde_count; static void fde_handler(struct tevent_context *ev_ctx, struct tevent_fd *f, - uint16_t flags, void *private) + uint16_t flags, void *private_data) { - int *fd = (int *)private; + int *fd = (int *)private_data; char c; #ifdef SA_SIGINFO kill(getpid(), SIGUSR1); @@ -41,16 +41,16 @@ static void fde_handler(struct tevent_context *ev_ctx, struct tevent_fd *f, } static void finished_handler(struct tevent_context *ev_ctx, struct tevent_timer *te, - struct timeval tval, void *private) + struct timeval tval, void *private_data) { - int *finished = (int *)private; + int *finished = (int *)private_data; (*finished) = 1; } static void count_handler(struct tevent_context *ev_ctx, struct signal_event *te, - int signum, int count, void *info, void *private) + int signum, int count, void *info, void *private_data) { - int *countp = (int *)private; + int *countp = (int *)private_data; (*countp) += count; } -- 2.34.1