summaryrefslogtreecommitdiff
path: root/source4/ntvfs/sysdep/sys_notify.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-01-28 17:03:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:44:24 -0500
commit1fbb49a3e7ed78582e283060b6624c57f30d13dd (patch)
tree97daec6c1b1ae050fa364ed8230b3cf3ed4419bc /source4/ntvfs/sysdep/sys_notify.c
parentd3400402d57eaaf56c8436aafd92d9768eee31e7 (diff)
downloadsamba-1fbb49a3e7ed78582e283060b6624c57f30d13dd.tar.gz
samba-1fbb49a3e7ed78582e283060b6624c57f30d13dd.tar.bz2
samba-1fbb49a3e7ed78582e283060b6624c57f30d13dd.zip
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)
Diffstat (limited to 'source4/ntvfs/sysdep/sys_notify.c')
-rw-r--r--source4/ntvfs/sysdep/sys_notify.c8
1 files changed, 5 insertions, 3 deletions
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);
}
/*