From 1fbb49a3e7ed78582e283060b6624c57f30d13dd Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 28 Jan 2007 17:03:10 +0000 Subject: r21041: Change some "private" to "private_data", and change one (void **) function parameter to (void *). void** in function parameters leads to type-punned warnings. Volker (This used to be commit 57979d89c53b4363e4b447205703579df6756653) --- source4/ntvfs/sysdep/sys_notify.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'source4/ntvfs/sysdep/sys_notify.c') diff --git a/source4/ntvfs/sysdep/sys_notify.c b/source4/ntvfs/sysdep/sys_notify.c index 765b4a39a5..1c0467236a 100644 --- a/source4/ntvfs/sysdep/sys_notify.c +++ b/source4/ntvfs/sysdep/sys_notify.c @@ -95,13 +95,15 @@ _PUBLIC_ struct sys_notify_context *sys_notify_context_create(struct share_confi bits to remove ones handled by this backend. Any remaining bits will be handled by the generic notify layer */ -_PUBLIC_ NTSTATUS sys_notify_watch(struct sys_notify_context *ctx, struct notify_entry *e, - sys_notify_callback_t callback, void *private, void **handle) +_PUBLIC_ NTSTATUS sys_notify_watch(struct sys_notify_context *ctx, + struct notify_entry *e, + sys_notify_callback_t callback, + void *private_data, void *handle) { if (!ctx->notify_watch) { return NT_STATUS_INVALID_SYSTEM_SERVICE; } - return ctx->notify_watch(ctx, e, callback, private, handle); + return ctx->notify_watch(ctx, e, callback, private_data, handle); } /* -- cgit