From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com [209.85.208.176]) (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 9ED3C42EF5C for ; Fri, 3 Jul 2020 17:46:16 +0300 (MSK) Received: by mail-lj1-f176.google.com with SMTP id z24so12389988ljn.8 for ; Fri, 03 Jul 2020 07:46:16 -0700 (PDT) From: Cyrill Gorcunov Date: Fri, 3 Jul 2020 17:45:08 +0300 Message-Id: <20200703144526.522358-5-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 04/22] proc_title: 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/proc_title.c | 2 +- src/proc_title.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/proc_title.c b/src/proc_title.c index e31f0e562..39587aeb6 100644 --- a/src/proc_title.c +++ b/src/proc_title.c @@ -370,7 +370,7 @@ proc_title_set(const char *format, ...) } size_t -proc_title_max_length() +proc_title_max_length(void) { return ps_buffer_size - ps_sentinel_size; } diff --git a/src/proc_title.h b/src/proc_title.h index 10dc0b740..23849d95d 100644 --- a/src/proc_title.h +++ b/src/proc_title.h @@ -39,7 +39,7 @@ extern "C" { char **proc_title_init(int argc, char **argv); void proc_title_free(int argc, char **argv); CFORMAT(printf, 1, 2) void proc_title_set(const char *format, ...); -size_t proc_title_max_length(); +size_t proc_title_max_length(void); #ifdef __cplusplus } /* extern "C" */ -- 2.26.2