From b61dc7f051b32034a10483f1fe315bee6d6a87e9 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Wed, 5 Apr 2000 22:42:26 +0000 Subject: fsync() returns an int rather than void. (This used to be commit 26972823cf66aa8c4e61af9b208707c11c8b8ac6) --- examples/VFS/skel.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/VFS') diff --git a/examples/VFS/skel.c b/examples/VFS/skel.c index da5ef7b3104..1873e4a4796 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); } -- cgit