From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) (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 C238F42EF6A for ; Fri, 3 Jul 2020 17:48:11 +0300 (MSK) Received: by mail-lj1-f175.google.com with SMTP id q4so1577433lji.2 for ; Fri, 03 Jul 2020 07:48:11 -0700 (PDT) From: Cyrill Gorcunov Date: Fri, 3 Jul 2020 17:45:18 +0300 Message-Id: <20200703144526.522358-15-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 14/22] call: 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/coll/coll.c | 4 ++-- src/lib/coll/coll.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/coll/coll.c b/src/lib/coll/coll.c index fa27bf34e..ea89971f8 100644 --- a/src/lib/coll/coll.c +++ b/src/lib/coll/coll.c @@ -417,7 +417,7 @@ coll_unref(struct coll *coll) } void -coll_init() +coll_init(void) { UErrorCode err = U_ZERO_ERROR; coll_cache = mh_coll_new(); @@ -429,7 +429,7 @@ coll_init() } void -coll_free() +coll_free(void) { ucasemap_close(icu_ucase_default_map); ucnv_close(icu_utf8_conv); diff --git a/src/lib/coll/coll.h b/src/lib/coll/coll.h index dc343539e..cef80fbe4 100644 --- a/src/lib/coll/coll.h +++ b/src/lib/coll/coll.h @@ -123,11 +123,11 @@ coll_unref(struct coll *coll); /** Initialize collations subsystem. */ void -coll_init(); +coll_init(void); /** Destroy collations subsystem. */ void -coll_free(); +coll_free(void); #if defined(__cplusplus) } /* extern "C" */ -- 2.26.2