diff options
author | Michael Adam <obnox@samba.org> | 2008-01-07 00:14:19 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-07 00:14:19 +0100 |
commit | ca275e254985727c50b1b988c958a3743a7bc8ce (patch) | |
tree | 1c806c09e76402a576adaba05c9f623cb3767ba2 /examples/VFS/skel_opaque.c | |
parent | 05352cf2cb7f9710444d340f3f14ac6917fb0416 (diff) | |
download | samba-ca275e254985727c50b1b988c958a3743a7bc8ce.tar.gz samba-ca275e254985727c50b1b988c958a3743a7bc8ce.tar.bz2 samba-ca275e254985727c50b1b988c958a3743a7bc8ce.zip |
Remove unneeded parameter fd from SMB_VFS_PREAD().
Michael
(This used to be commit 73e28806ce87d829ea7c38ed3440020845bb13bf)
Diffstat (limited to 'examples/VFS/skel_opaque.c')
-rw-r--r-- | examples/VFS/skel_opaque.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index fd4b206185..aeca932132 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -135,9 +135,9 @@ static ssize_t skel_read(vfs_handle_struct *handle, files_struct *fsp, int fd, v return vfswrap_read(NULL, fsp, fd, data, n); } -static ssize_t skel_pread(vfs_handle_struct *handle, struct files_struct *fsp, int fd, void *data, size_t n, SMB_OFF_T offset) +static ssize_t skel_pread(vfs_handle_struct *handle, struct files_struct *fsp, void *data, size_t n, SMB_OFF_T offset) { - return vfswrap_pread(NULL, fsp, fd, data, n, offset); + return vfswrap_pread(NULL, fsp, data, n, offset); } static ssize_t skel_write(vfs_handle_struct *handle, files_struct *fsp, int fd, const void *data, size_t n) |