Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 May 2022 00:30:02 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: e6c88ad35066 - stable/13 - ggatec: Use ANSI C definition for init_initial_buffer_size.
Message-ID:  <202205110030.24B0U29a056249@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=e6c88ad350667ddbaba01dcb2423212618ad9ea2

commit e6c88ad350667ddbaba01dcb2423212618ad9ea2
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-02-01 01:12:04 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-11 00:04:10 +0000

    ggatec: Use ANSI C definition for init_initial_buffer_size.
    
    This fixes -Wstrict-prototypes and -Wold-style-definition warnings
    from GCC 9.
    
    (cherry picked from commit 6c9ed428284e40f28a49eac2680f06ed33b7cca9)
---
 sbin/ggate/ggatec/ggatec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sbin/ggate/ggatec/ggatec.c b/sbin/ggate/ggatec/ggatec.c
index dfd9506e5e26..0de8504ce3c4 100644
--- a/sbin/ggate/ggatec/ggatec.c
+++ b/sbin/ggate/ggatec/ggatec.c
@@ -534,7 +534,7 @@ g_gatec_rescue(void)
 }
 
 static void
-init_initial_buffer_size()
+init_initial_buffer_size(void)
 {
 	int value;
 	size_t intsize;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205110030.24B0U29a056249>