From 5b5cb69bf3e16e4170d4206621682a12d441c87f Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Wed, 21 Feb 2018 09:58:22 +0000 Subject: win32: import fsync(2) implementation from gnulib --- include/mingw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/mingw.h') diff --git a/include/mingw.h b/include/mingw.h index 6f69913d6..a59ce6fc4 100644 --- a/include/mingw.h +++ b/include/mingw.h @@ -390,7 +390,7 @@ NOIMPL(getsid,pid_t pid UNUSED_PARAM); IMPL(getuid,int,DEFAULT_UID,void); int getlogin_r(char *buf, size_t len); int fcntl(int fd, int cmd, ...); -IMPL(fsync,int,0,int fd UNUSED_PARAM); +int fsync(int fd); int kill(pid_t pid, int sig); int link(const char *oldpath, const char *newpath); NOIMPL(mknod,const char *name UNUSED_PARAM, mode_t mode UNUSED_PARAM, dev_t device UNUSED_PARAM); -- cgit v1.2.3-55-g6feb