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 9AC4442EF5D for ; Fri, 3 Jul 2020 17:45:53 +0300 (MSK) Received: by mail-lj1-f182.google.com with SMTP id t25so32691298lji.12 for ; Fri, 03 Jul 2020 07:45:53 -0700 (PDT) From: Cyrill Gorcunov Date: Fri, 3 Jul 2020 17:45:06 +0300 Message-Id: <20200703144526.522358-3-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 02/22] crc32: 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/crc32.c | 2 +- src/crc32.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/crc32.c b/src/crc32.c index ba9dfb105..dc40f3a83 100644 --- a/src/crc32.c +++ b/src/crc32.c @@ -40,7 +40,7 @@ crc32_func crc32_calc = NULL; void -crc32_init() +crc32_init(void) { #if defined(HAVE_CPUID) && (defined (__x86_64__) || defined (__i386__)) crc32_calc = sse42_enabled_cpu() ? &crc32c_hw : &crc32c; diff --git a/src/crc32.h b/src/crc32.h index c29e7fbd2..c84505e79 100644 --- a/src/crc32.h +++ b/src/crc32.h @@ -45,7 +45,7 @@ typedef uint32_t (*crc32_func)(uint32_t crc, const char *buf, unsigned int len); */ extern crc32_func crc32_calc; -void crc32_init(); +void crc32_init(void); #if defined(__cplusplus) } /* extern "C" */ -- 2.26.2