From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) (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 ACAF842EF60 for ; Fri, 3 Jul 2020 17:48:23 +0300 (MSK) Received: by mail-lj1-f169.google.com with SMTP id h22so30135487lji.9 for ; Fri, 03 Jul 2020 07:48:23 -0700 (PDT) From: Cyrill Gorcunov Date: Fri, 3 Jul 2020 17:45:19 +0300 Message-Id: <20200703144526.522358-16-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 15/22] call_id_cache: 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/box/coll_id_cache.c | 4 ++-- src/box/coll_id_cache.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/box/coll_id_cache.c b/src/box/coll_id_cache.c index 45d295eb9..22673efd0 100644 --- a/src/box/coll_id_cache.c +++ b/src/box/coll_id_cache.c @@ -39,7 +39,7 @@ static struct mh_strnptr_t *coll_cache_name = NULL; static struct mh_i32ptr_t *coll_id_cache = NULL; int -coll_id_cache_init() +coll_id_cache_init(void) { coll_id_cache = mh_i32ptr_new(); if (coll_id_cache == NULL) { @@ -58,7 +58,7 @@ coll_id_cache_init() } void -coll_id_cache_destroy() +coll_id_cache_destroy(void) { mh_strnptr_delete(coll_cache_name); mh_i32ptr_delete(coll_id_cache); diff --git a/src/box/coll_id_cache.h b/src/box/coll_id_cache.h index e3115ddb5..b959b2eb3 100644 --- a/src/box/coll_id_cache.h +++ b/src/box/coll_id_cache.h @@ -43,11 +43,11 @@ struct coll_id; * @return - 0 on success, -1 on memory error. */ int -coll_id_cache_init(); +coll_id_cache_init(void); /** Delete global hash tables. */ void -coll_id_cache_destroy(); +coll_id_cache_destroy(void); /** * Insert or replace a collation into collation cache. -- 2.26.2