diff options
author | Michael Adam <obnox@samba.org> | 2008-01-10 15:49:35 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-10 15:49:35 +0100 |
commit | c8ae7d095a2a6a7eac920a68ca7244e3a423e1b1 (patch) | |
tree | 235bd7300e7d489ac87dccff33a2b34fdc5f3d71 /examples | |
parent | a8fc2ddad8d5f7c6c00cb36c74a32a02d69d1d04 (diff) | |
download | samba-c8ae7d095a2a6a7eac920a68ca7244e3a423e1b1.tar.gz samba-c8ae7d095a2a6a7eac920a68ca7244e3a423e1b1.tar.xz samba-c8ae7d095a2a6a7eac920a68ca7244e3a423e1b1.zip |
Remove redundant parameter fd from SMB_VFS_WRITE().
Michael
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 eda1ceb1d16..6b1f29b12d4 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -140,9 +140,9 @@ static ssize_t skel_pread(vfs_handle_struct *handle, struct files_struct *fsp, v 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) +static ssize_t skel_write(vfs_handle_struct *handle, files_struct *fsp, const void *data, size_t n) { - return vfswrap_write(NULL, fsp, fd, data, n); + return vfswrap_write(NULL, fsp, data, n); } ssize_t skel_pwrite(vfs_handle_struct *handle, struct files_struct *fsp, const void *data, size_t n, SMB_OFF_T offset) diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index 7b09e3369c0..c168b461bad 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -134,9 +134,9 @@ static ssize_t skel_pread(vfs_handle_struct *handle, files_struct *fsp, void *da return SMB_VFS_NEXT_PREAD(handle, fsp, data, n, offset); } -static ssize_t skel_write(vfs_handle_struct *handle, files_struct *fsp, int fd, const void *data, size_t n) +static ssize_t skel_write(vfs_handle_struct *handle, files_struct *fsp, const void *data, size_t n) { - return SMB_VFS_NEXT_WRITE(handle, fsp, fd, data, n); + return SMB_VFS_NEXT_WRITE(handle, fsp, data, n); } static ssize_t skel_pwrite(vfs_handle_struct *handle, files_struct *fsp, const void *data, size_t n, SMB_OFF_T offset) |