diff options
author | Jeremy Allison <jra@samba.org> | 2000-04-04 18:44:04 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-04-04 18:44:04 +0000 |
commit | 2d15c34f4fc2f3943328976361ab8c67508b6e82 (patch) | |
tree | ff62ca133178e07bfa48b9acad204bea620cd216 /source3/include/proto.h | |
parent | 9d5ddab76661878e08d9f3b4c6c34f52119318c3 (diff) | |
download | samba-2d15c34f4fc2f3943328976361ab8c67508b6e82.tar.gz samba-2d15c34f4fc2f3943328976361ab8c67508b6e82.tar.bz2 samba-2d15c34f4fc2f3943328976361ab8c67508b6e82.zip |
Change to vfs API. POSIX states fsync should return an int, not a void.
Jeremy.
(This used to be commit 6c442d68afae4140e28b770343a900b5ce510b4a)
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r-- | source3/include/proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 7f40ac8fcd..c74d775329 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -3265,7 +3265,7 @@ ssize_t vfswrap_read(int fd, char *data, size_t n); ssize_t vfswrap_write(int fd, char *data, size_t n); SMB_OFF_T vfswrap_lseek(int filedes, SMB_OFF_T offset, int whence); int vfswrap_rename(char *old, char *new); -void vfswrap_fsync(int fd); +int vfswrap_fsync(int fd); int vfswrap_stat(char *fname, SMB_STRUCT_STAT *sbuf); int vfswrap_fstat(int fd, SMB_STRUCT_STAT *sbuf); int vfswrap_lstat(char *path, |