summaryrefslogtreecommitdiff
path: root/examples/VFS/skel_opaque.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-07 00:21:12 +0100
committerMichael Adam <obnox@samba.org>2008-01-07 01:04:55 +0100
commit3f4699f5a3f3c7a2ad11119c266e5a018d71b0fe (patch)
tree4a978b19247e74bda326ca64de24860b3b871bc5 /examples/VFS/skel_opaque.c
parentca275e254985727c50b1b988c958a3743a7bc8ce (diff)
downloadsamba-3f4699f5a3f3c7a2ad11119c266e5a018d71b0fe.tar.gz
samba-3f4699f5a3f3c7a2ad11119c266e5a018d71b0fe.tar.bz2
samba-3f4699f5a3f3c7a2ad11119c266e5a018d71b0fe.zip
Adapt fset_nt_acl() and fget_nt_acl() in examples/VFS/ to vfs prototype change.
Michael (This used to be commit d9d6775878f8b3425665c6a45a5ef9cb92932cf8)
Diffstat (limited to 'examples/VFS/skel_opaque.c')
-rw-r--r--examples/VFS/skel_opaque.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c
index aeca932132..21b39c1d95 100644
--- a/examples/VFS/skel_opaque.c
+++ b/examples/VFS/skel_opaque.c
@@ -301,7 +301,7 @@ static struct file_id skel_file_id_create(vfs_handle_struct *handle,
}
static size_t skel_fget_nt_acl(vfs_handle_struct *handle, files_struct *fsp,
- int fd, uint32 security_info, SEC_DESC **ppdesc)
+ uint32 security_info, SEC_DESC **ppdesc)
{
errno = ENOSYS;
return 0;
@@ -314,8 +314,8 @@ static size_t skel_get_nt_acl(vfs_handle_struct *handle, files_struct *fsp,
return 0;
}
-static NTSTATUS skel_fset_nt_acl(vfs_handle_struct *handle, files_struct *fsp, int
- fd, uint32 security_info_sent, SEC_DESC *psd)
+static NTSTATUS skel_fset_nt_acl(vfs_handle_struct *handle, files_struct *fsp,
+ uint32 security_info_sent, SEC_DESC *psd)
{
errno = ENOSYS;
return NT_STATUS_NOT_IMPLEMENTED;