summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-04-05 22:42:26 +0000
committerTim Potter <tpot@samba.org>2000-04-05 22:42:26 +0000
commitb61dc7f051b32034a10483f1fe315bee6d6a87e9 (patch)
tree97285db88632f438d86a79bc9ff4133c5363c93b
parentbfbbd1ad9dc7a7c7fdb9804b70b47a62c8ce5b0b (diff)
downloadsamba-b61dc7f051b32034a10483f1fe315bee6d6a87e9.tar.gz
samba-b61dc7f051b32034a10483f1fe315bee6d6a87e9.tar.bz2
samba-b61dc7f051b32034a10483f1fe315bee6d6a87e9.zip
fsync() returns an int rather than void.
(This used to be commit 26972823cf66aa8c4e61af9b208707c11c8b8ac6)
-rw-r--r--examples/VFS/skel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/VFS/skel.c b/examples/VFS/skel.c
index da5ef7b310..1873e4a479 100644
--- a/examples/VFS/skel.c
+++ b/examples/VFS/skel.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * $Id: skel.c,v 1.2 2000/02/04 05:08:16 tpot Exp $
+ * $Id: skel.c,v 1.3 2000/04/05 22:42:26 tpot Exp $
*/
#include "config.h"
@@ -57,7 +57,7 @@ ssize_t skel_read(int fd, char *data, size_t n);
ssize_t skel_write(int fd, char *data, size_t n);
SMB_OFF_T skel_lseek(int filedes, SMB_OFF_T offset, int whence);
int skel_rename(char *old, char *new);
-void skel_fsync(int fd);
+int skel_fsync(int fd);
int skel_stat(char *fname, SMB_STRUCT_STAT *sbuf);
int skel_fstat(int fd, SMB_STRUCT_STAT *sbuf);
int skel_lstat(char *path, SMB_STRUCT_STAT *sbuf);
@@ -182,7 +182,7 @@ int skel_rename(char *old, char *new)
return default_vfs_ops.rename(old, new);
}
-void skel_fsync(int fd)
+int skel_fsync(int fd)
{
default_vfs_ops.fsync(fd);
}