From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f182.google.com (mail-lj1-f182.google.com [209.85.208.182]) (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 B634D42EF5D for ; Fri, 3 Jul 2020 17:46:50 +0300 (MSK) Received: by mail-lj1-f182.google.com with SMTP id e4so37324606ljn.4 for ; Fri, 03 Jul 2020 07:46:50 -0700 (PDT) From: Cyrill Gorcunov Date: Fri, 3 Jul 2020 17:45:11 +0300 Message-Id: <20200703144526.522358-8-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 07/22] say: 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/say.c | 4 ++-- src/lib/core/say.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/core/say.c b/src/lib/core/say.c index b903cb03f..c75e65b58 100644 --- a/src/lib/core/say.c +++ b/src/lib/core/say.c @@ -163,7 +163,7 @@ level_to_syslog_priority(int level) } enum say_logger_type -log_type() +log_type(void) { return log_default->type; } @@ -744,7 +744,7 @@ say_logger_init(const char *init_str, int level, int nonblock, } void -say_logger_free() +say_logger_free(void) { if (say_logger_initialized()) log_destroy(&log_std); diff --git a/src/lib/core/say.h b/src/lib/core/say.h index 857145465..fe8251e4c 100644 --- a/src/lib/core/say.h +++ b/src/lib/core/say.h @@ -201,7 +201,7 @@ log_say(struct log *log, int level, const char *filename, * @retval say_logger_type. */ enum say_logger_type -log_type(); +log_type(void); /** * Accessors for default logger file descriptor. @@ -280,7 +280,7 @@ say_logger_initialized(void); /** Free default logger */ void -say_logger_free(); +say_logger_free(void); /** \cond public */ typedef void (*sayfunc_t)(int, const char *, int, const char *, -- 2.26.2