summaryrefslogtreecommitdiff
path: root/examples/VFS
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-08 22:51:21 +0100
committerMichael Adam <obnox@samba.org>2008-01-08 22:51:21 +0100
commite09316ed789accc77b1812e8da4f9aa20330e2ea (patch)
tree5853101fe8458b41d4b39bb15e3f2ecc45088c70 /examples/VFS
parent89f1fec4e57255fc511eeee0b18cbe19e8c22297 (diff)
downloadsamba-e09316ed789accc77b1812e8da4f9aa20330e2ea.tar.gz
samba-e09316ed789accc77b1812e8da4f9aa20330e2ea.tar.bz2
samba-e09316ed789accc77b1812e8da4f9aa20330e2ea.zip
Fix returns in void functions.
Michael (This used to be commit ef7c9a765bcdb1c774ff4f6d14053c4aa3815f31)
Diffstat (limited to 'examples/VFS')
-rw-r--r--examples/VFS/skel_opaque.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c
index c095a15794..8c05479a62 100644
--- a/examples/VFS/skel_opaque.c
+++ b/examples/VFS/skel_opaque.c
@@ -92,7 +92,7 @@ static SMB_STRUCT_DIRENT *skel_readdir(vfs_handle_struct *handle, SMB_STRUCT_DI
static void skel_seekdir(vfs_handle_struct *handle, SMB_STRUCT_DIR *dirp, long offset)
{
- return vfswrap_seekdir(NULL, dirp, offset);
+ vfswrap_seekdir(NULL, dirp, offset);
}
static long skel_telldir(vfs_handle_struct *handle, SMB_STRUCT_DIR *dirp)
@@ -102,7 +102,7 @@ static long skel_telldir(vfs_handle_struct *handle, SMB_STRUCT_DIR *dirp)
static void skel_rewinddir(vfs_handle_struct *handle, SMB_STRUCT_DIR *dirp)
{
- return vfswrap_rewinddir(NULL, dirp);
+ vfswrap_rewinddir(NULL, dirp);
}
static int skel_mkdir(vfs_handle_struct *handle, const char *path, mode_t mode)