[Tarantool-patches] [PATCH 11/22] coio: use void for empty args

Cyrill Gorcunov gorcunov at gmail.com
Fri Jul 3 17:45:15 MSK 2020


Part-of #4718

Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
 src/lib/core/coio_file.c | 2 +-
 src/lib/core/coio_file.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/core/coio_file.c b/src/lib/core/coio_file.c
index 0f21380c5..3ec74a549 100644
--- a/src/lib/core/coio_file.c
+++ b/src/lib/core/coio_file.c
@@ -523,7 +523,7 @@ coio_tempdir(char *path, size_t path_len)
 }
 
 int
-coio_sync()
+coio_sync(void)
 {
 	INIT_COEIO_FILE(eio);
 	eio_req *req = eio_sync(0, coio_complete, &eio);
diff --git a/src/lib/core/coio_file.h b/src/lib/core/coio_file.h
index ac7b1aacf..b8886cd16 100644
--- a/src/lib/core/coio_file.h
+++ b/src/lib/core/coio_file.h
@@ -76,7 +76,7 @@ int     coio_link(const char *oldpath, const char *newpath);
 int     coio_symlink(const char *target, const char *linkpath);
 int     coio_readlink(const char *pathname, char *buf, size_t bufsiz);
 
-int     coio_sync();
+int     coio_sync(void);
 int     coio_fsync(int fd);
 int     coio_fdatasync(int fd);
 
-- 
2.26.2



More information about the Tarantool-patches mailing list