summaryrefslogtreecommitdiff
path: root/examples
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
commitef7c9a765bcdb1c774ff4f6d14053c4aa3815f31 (patch)
tree56d21e072ef0d7532d4963e681ddfab1d2d6a581 /examples
parentc88555ce45aa2998037d316f3a8edccd04be04a4 (diff)
downloadsamba-ef7c9a765bcdb1c774ff4f6d14053c4aa3815f31.tar.gz
Fix returns in void functions.
Michael
Diffstat (limited to 'examples')
-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 c095a157944..8c05479a62d 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)