From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 4035B42EF69 for ; Fri, 3 Jul 2020 17:47:37 +0300 (MSK) Received: by mail-lf1-f43.google.com with SMTP id y13so18632922lfe.9 for ; Fri, 03 Jul 2020 07:47:37 -0700 (PDT) From: Cyrill Gorcunov Date: Fri, 3 Jul 2020 17:45:15 +0300 Message-Id: <20200703144526.522358-12-gorcunov@gmail.com> In-Reply-To: <20200703144526.522358-1-gorcunov@gmail.com> References: <20200703144526.522358-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 11/22] coio: use void for empty args List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tml Cc: Alexander Turenko Part-of #4718 Signed-off-by: Cyrill Gorcunov --- 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