From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-f65.google.com (mail-lf1-f65.google.com [209.85.167.65]) (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 5210D42EF61 for ; Fri, 3 Jul 2020 17:47:02 +0300 (MSK) Received: by mail-lf1-f65.google.com with SMTP id y18so18624621lfh.11 for ; Fri, 03 Jul 2020 07:47:02 -0700 (PDT) From: Cyrill Gorcunov Date: Fri, 3 Jul 2020 17:45:12 +0300 Message-Id: <20200703144526.522358-9-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 08/22] memory: 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/memory.c | 4 ++-- src/lib/core/memory.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/core/memory.c b/src/lib/core/memory.c index f236c1887..f92a733b6 100644 --- a/src/lib/core/memory.c +++ b/src/lib/core/memory.c @@ -34,7 +34,7 @@ struct slab_arena runtime; void -memory_init() +memory_init(void) { static struct quota runtime_quota; const size_t SLAB_SIZE = 4 * 1024 * 1024; @@ -47,7 +47,7 @@ memory_init() } void -memory_free() +memory_free(void) { /* * If this is called from a fiber != sched, then diff --git a/src/lib/core/memory.h b/src/lib/core/memory.h index dd9d351c7..b7a7d8e3f 100644 --- a/src/lib/core/memory.h +++ b/src/lib/core/memory.h @@ -46,10 +46,10 @@ extern "C" { extern struct slab_arena runtime; void -memory_init(); +memory_init(void); void -memory_free(); +memory_free(void); #if defined(__cplusplus) } /* extern "C" */ #endif /* defined(__cplusplus) */ -- 2.26.2