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 D03E742EF6C for ; Fri, 3 Jul 2020 17:48:34 +0300 (MSK) Received: by mail-lj1-f175.google.com with SMTP id t25so32701628lji.12 for ; Fri, 03 Jul 2020 07:48:34 -0700 (PDT) From: Cyrill Gorcunov Date: Fri, 3 Jul 2020 17:45:20 +0300 Message-Id: <20200703144526.522358-17-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 16/22] schema: 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/schema.cc | 4 ++-- src/box/schema.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/box/schema.cc b/src/box/schema.cc index 456eef429..60e4a7f9c 100644 --- a/src/box/schema.cc +++ b/src/box/schema.cc @@ -107,7 +107,7 @@ space_by_name(const char *name) /** Return current schema version */ uint32_t -box_schema_version() +box_schema_version(void) { return schema_version; } @@ -360,7 +360,7 @@ schema_find_id(uint32_t system_space_id, uint32_t index_id, * will get altered automatically to their actual format. */ void -schema_init() +schema_init(void) { struct key_part_def key_parts[3]; for (uint32_t i = 0; i < lengthof(key_parts); i++) diff --git a/src/box/schema.h b/src/box/schema.h index 7802941ef..25ac6f110 100644 --- a/src/box/schema.h +++ b/src/box/schema.h @@ -66,7 +66,7 @@ struct space * space_by_name(const char *name); uint32_t -box_schema_version(); +box_schema_version(void); static inline struct space * space_cache_find(uint32_t id) @@ -164,10 +164,10 @@ void space_cache_replace(struct space *old_space, struct space *new_space); void -schema_init(); +schema_init(void); void -schema_free(); +schema_free(void); struct space *schema_space(uint32_t id); -- 2.26.2