diff options
author | Michael Adam <obnox@samba.org> | 2008-01-07 09:23:04 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-07 15:59:01 +0100 |
commit | a56b417809805f8872c1e3238cce5d006d6189e4 (patch) | |
tree | 48237bfcc63171112e5cc3ca56c3662ecb898690 /examples | |
parent | cab9aa525dbbf4ba65acb43763298bfb30d4fca4 (diff) | |
download | samba-a56b417809805f8872c1e3238cce5d006d6189e4.tar.gz samba-a56b417809805f8872c1e3238cce5d006d6189e4.tar.bz2 samba-a56b417809805f8872c1e3238cce5d006d6189e4.zip |
Remove redundant parameter fd from SMB_VFS_PWRITE().
Michael
(This used to be commit 8c4901a19ae2fd3ee085f9499f33aa7db016d182)
Diffstat (limited to 'examples')
-rw-r--r-- | examples/VFS/skel_opaque.c | 4 | ||||
-rw-r--r-- | examples/VFS/skel_transparent.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index 21b39c1d95..1fb9b8056e 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -145,9 +145,9 @@ static ssize_t skel_write(vfs_handle_struct *handle, files_struct *fsp, int fd, return vfswrap_write(NULL, fsp, fd, data, n); } -ssize_t skel_pwrite(vfs_handle_struct *handle, struct files_struct *fsp, int fd, const void *data, size_t n, SMB_OFF_T offset) +ssize_t skel_pwrite(vfs_handle_struct *handle, struct files_struct *fsp, const void *data, size_t n, SMB_OFF_T offset) { - return vfswrap_pwrite(NULL, fsp, fd, data, n, offset); + return vfswrap_pwrite(NULL, fsp, data, n, offset); } static SMB_OFF_T skel_lseek(vfs_handle_struct *handle, files_struct *fsp, int filedes, SMB_OFF_T offset, int whence) diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index 76ef7e0f2b..f702c93d80 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -139,9 +139,9 @@ static ssize_t skel_write(vfs_handle_struct *handle, files_struct *fsp, int fd, return SMB_VFS_NEXT_WRITE(handle, fsp, fd, data, n); } -static ssize_t skel_pwrite(vfs_handle_struct *handle, files_struct *fsp, int fd, const void *data, size_t n, SMB_OFF_T offset) +static ssize_t skel_pwrite(vfs_handle_struct *handle, files_struct *fsp, const void *data, size_t n, SMB_OFF_T offset) { - return SMB_VFS_NEXT_PWRITE(handle, fsp, fd, data, n, offset); + return SMB_VFS_NEXT_PWRITE(handle, fsp, data, n, offset); } static SMB_OFF_T skel_lseek(vfs_handle_struct *handle, files_struct *fsp, int filedes, SMB_OFF_T offset, int whence) |