summaryrefslogtreecommitdiff
path: root/examples/VFS
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-07 13:21:26 +0100
committerMichael Adam <obnox@samba.org>2008-01-07 15:59:01 +0100
commit87a684f7fcfa8d9fabc42e33981299d0b33eeeb7 (patch)
tree9c348c30ed24be60e1aa96e725af3f06bf82ad5a /examples/VFS
parent8dcce0d236b2102ca94fbcb7aa7126fe6733f2e7 (diff)
downloadsamba-87a684f7fcfa8d9fabc42e33981299d0b33eeeb7.tar.gz
samba-87a684f7fcfa8d9fabc42e33981299d0b33eeeb7.tar.bz2
samba-87a684f7fcfa8d9fabc42e33981299d0b33eeeb7.zip
Remove redundant parameter fd from SMB_VFS_FSTAT().
Michael (This used to be commit 0b86c420be94d295f6917a220b5d699f65b46711)
Diffstat (limited to 'examples/VFS')
-rw-r--r--examples/VFS/skel_opaque.c4
-rw-r--r--examples/VFS/skel_transparent.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c
index 2ae24312b4..361cf207d3 100644
--- a/examples/VFS/skel_opaque.c
+++ b/examples/VFS/skel_opaque.c
@@ -181,9 +181,9 @@ static int skel_stat(vfs_handle_struct *handle, const char *fname, SMB_STRUCT_S
return vfswrap_stat(NULL, fname, sbuf);
}
-static int skel_fstat(vfs_handle_struct *handle, files_struct *fsp, int fd, SMB_STRUCT_STAT *sbuf)
+static int skel_fstat(vfs_handle_struct *handle, files_struct *fsp, SMB_STRUCT_STAT *sbuf)
{
- return vfswrap_fstat(NULL, fsp, fd, sbuf);
+ return vfswrap_fstat(NULL, fsp, sbuf);
}
static int skel_lstat(vfs_handle_struct *handle, const char *path, SMB_STRUCT_STAT *sbuf)
diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c
index ea20312514..72ca6f2056 100644
--- a/examples/VFS/skel_transparent.c
+++ b/examples/VFS/skel_transparent.c
@@ -174,9 +174,9 @@ static int skel_stat(vfs_handle_struct *handle, const char *fname, SMB_STRUCT_S
return SMB_VFS_NEXT_STAT(handle, fname, sbuf);
}
-static int skel_fstat(vfs_handle_struct *handle, files_struct *fsp, int fd, SMB_STRUCT_STAT *sbuf)
+static int skel_fstat(vfs_handle_struct *handle, files_struct *fsp, SMB_STRUCT_STAT *sbuf)
{
- return SMB_VFS_NEXT_FSTAT(handle, fsp, fd, sbuf);
+ return SMB_VFS_NEXT_FSTAT(handle, fsp, sbuf);
}
static int skel_lstat(vfs_handle_struct *handle, const char *path, SMB_STRUCT_STAT *sbuf)