summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-02-02 12:59:28 +0100
committerStefan Metzmacher <metze@samba.org>2009-02-02 13:09:18 +0100
commit8249a467e365d7dc5eb52fd4c1315870405debb4 (patch)
tree8ed1478a6a948592222ef514fadb656a9c3cb929
parent21571e64a9c338b8e0be092f01a99813674b9ed1 (diff)
downloadsamba-8249a467e365d7dc5eb52fd4c1315870405debb4.tar.gz
samba-8249a467e365d7dc5eb52fd4c1315870405debb4.tar.xz
samba-8249a467e365d7dc5eb52fd4c1315870405debb4.zip
lib/tevent: s/private/private_data
metze
-rw-r--r--lib/tevent/testsuite.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/tevent/testsuite.c b/lib/tevent/testsuite.c
index 1b811f5fa2..faa18577a7 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;
}